Skip to content

Commit b17e684

Browse files
bnilawaranshuma1
authored andcommitted
drm/i915/gt: Update RC6 mask for mtl_drpc
It has been observed sometimes RC6 status register's unused bits are being set by h/w, without affecting RC6 functionality therefore updating the mask with used bits accordingly. As mtl_drpc is debugfs function, removing MISSING_CASE from default case as it doesn't make sense to panic (panic_on_warn=1) the CI system if register is reporting unsupported state. Cc: Anshuman Gupta <[email protected]> Signed-off-by: Badal Nilawar <[email protected]> Reviewed-by: Anshuman Gupta <[email protected]> Signed-off-by: Anshuman Gupta <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 26a8e32 commit b17e684

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ static int mtl_drpc(struct seq_file *m)
290290
seq_puts(m, "RC6\n");
291291
break;
292292
default:
293-
MISSING_CASE(REG_FIELD_GET(MTL_CC_MASK, gt_core_status));
294293
seq_puts(m, "Unknown\n");
295294
break;
296295
}

drivers/gpu/drm/i915/gt/intel_gt_regs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#define MTL_CAGF_MASK REG_GENMASK(8, 0)
2727
#define MTL_CC0 0x0
2828
#define MTL_CC6 0x3
29-
#define MTL_CC_MASK REG_GENMASK(12, 9)
29+
#define MTL_CC_MASK REG_GENMASK(10, 9)
3030

3131
/* RPM unit config (Gen8+) */
3232
#define RPM_CONFIG0 _MMIO(0xd00)

0 commit comments

Comments
 (0)