Skip to content

Commit 80103a2

Browse files
mattroperodrigovivi
authored andcommitted
drm/xe: Drop EXECLIST_CONTROL from error state dump
EXECLIST_CONTROL ($enginebase + 0x550) is a write-only register; we shouldn't be trying to read or report it as part of the device error state. Bspec: 45910, 60335 Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20231109194606.1835284-2-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent fa85b08 commit 80103a2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

drivers/gpu/drm/xe/xe_hw_engine.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,6 @@ xe_hw_engine_snapshot_capture(struct xe_hw_engine *hwe)
704704
snapshot->reg.ring_execlist_sq_contents_hi =
705705
hw_engine_mmio_read32(hwe,
706706
RING_EXECLIST_SQ_CONTENTS_HI(0));
707-
snapshot->reg.ring_execlist_control =
708-
hw_engine_mmio_read32(hwe, RING_EXECLIST_CONTROL(0));
709707
snapshot->reg.ring_start = hw_engine_mmio_read32(hwe, RING_START(0));
710708
snapshot->reg.ring_head =
711709
hw_engine_mmio_read32(hwe, RING_HEAD(0)) & HEAD_ADDR;
@@ -765,8 +763,6 @@ void xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot,
765763
snapshot->reg.ring_execlist_sq_contents_lo);
766764
drm_printf(p, "\tRING_EXECLIST_SQ_CONTENTS_HI: 0x%08x\n",
767765
snapshot->reg.ring_execlist_sq_contents_hi);
768-
drm_printf(p, "\tRING_EXECLIST_CONTROL: 0x%08x\n",
769-
snapshot->reg.ring_execlist_control);
770766
drm_printf(p, "\tRING_START: 0x%08x\n", snapshot->reg.ring_start);
771767
drm_printf(p, "\tRING_HEAD: 0x%08x\n", snapshot->reg.ring_head);
772768
drm_printf(p, "\tRING_TAIL: 0x%08x\n", snapshot->reg.ring_tail);

drivers/gpu/drm/xe/xe_hw_engine_types.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ struct xe_hw_engine_snapshot {
183183
u32 ring_execlist_sq_contents_lo;
184184
/** @ring_execlist_sq_contents_hi: RING_EXECLIST_SQ_CONTENTS + 4 */
185185
u32 ring_execlist_sq_contents_hi;
186-
/** @ring_execlist_control: RING_EXECLIST_CONTROL */
187-
u32 ring_execlist_control;
188186
/** @ring_start: RING_START */
189187
u32 ring_start;
190188
/** @ring_head: RING_HEAD */

0 commit comments

Comments
 (0)