Skip to content

Commit 600a0c7

Browse files
vsyrjalaAndi Shyti
authored andcommitted
drm/i915: Bump RING_FAULT engine ID bits
The fault engine ID field has been 5 bits since icl. Bump our define to match. The extra bits were unused before icl so we should be able to use the larger mask unconditionally. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7ded94b commit 600a0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@
10441044
#define GEN12_RING_FAULT_REG _MMIO(0xcec4)
10451045
#define XEHP_RING_FAULT_REG MCR_REG(0xcec4)
10461046
#define XELPMP_RING_FAULT_REG _MMIO(0xcec4)
1047-
#define GEN8_RING_FAULT_ENGINE_ID(x) (((x) >> 12) & 0x7)
1047+
#define GEN8_RING_FAULT_ENGINE_ID(x) (((x) >> 12) & 0x1f)
10481048
#define RING_FAULT_GTTSEL_MASK (1 << 11)
10491049
#define RING_FAULT_SRCID(x) (((x) >> 3) & 0xff)
10501050
#define RING_FAULT_FAULT_TYPE(x) (((x) >> 1) & 0x3)

0 commit comments

Comments
 (0)