Commit 80103a23 authored by Matt Roper's avatar Matt Roper Committed by Rodrigo Vivi

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: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20231109194606.1835284-2-matthew.d.roper@intel.comSigned-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent fa85b083
...@@ -704,8 +704,6 @@ xe_hw_engine_snapshot_capture(struct xe_hw_engine *hwe) ...@@ -704,8 +704,6 @@ xe_hw_engine_snapshot_capture(struct xe_hw_engine *hwe)
snapshot->reg.ring_execlist_sq_contents_hi = snapshot->reg.ring_execlist_sq_contents_hi =
hw_engine_mmio_read32(hwe, hw_engine_mmio_read32(hwe,
RING_EXECLIST_SQ_CONTENTS_HI(0)); RING_EXECLIST_SQ_CONTENTS_HI(0));
snapshot->reg.ring_execlist_control =
hw_engine_mmio_read32(hwe, RING_EXECLIST_CONTROL(0));
snapshot->reg.ring_start = hw_engine_mmio_read32(hwe, RING_START(0)); snapshot->reg.ring_start = hw_engine_mmio_read32(hwe, RING_START(0));
snapshot->reg.ring_head = snapshot->reg.ring_head =
hw_engine_mmio_read32(hwe, RING_HEAD(0)) & HEAD_ADDR; 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, ...@@ -765,8 +763,6 @@ void xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot,
snapshot->reg.ring_execlist_sq_contents_lo); snapshot->reg.ring_execlist_sq_contents_lo);
drm_printf(p, "\tRING_EXECLIST_SQ_CONTENTS_HI: 0x%08x\n", drm_printf(p, "\tRING_EXECLIST_SQ_CONTENTS_HI: 0x%08x\n",
snapshot->reg.ring_execlist_sq_contents_hi); snapshot->reg.ring_execlist_sq_contents_hi);
drm_printf(p, "\tRING_EXECLIST_CONTROL: 0x%08x\n",
snapshot->reg.ring_execlist_control);
drm_printf(p, "\tRING_START: 0x%08x\n", snapshot->reg.ring_start); drm_printf(p, "\tRING_START: 0x%08x\n", snapshot->reg.ring_start);
drm_printf(p, "\tRING_HEAD: 0x%08x\n", snapshot->reg.ring_head); drm_printf(p, "\tRING_HEAD: 0x%08x\n", snapshot->reg.ring_head);
drm_printf(p, "\tRING_TAIL: 0x%08x\n", snapshot->reg.ring_tail); drm_printf(p, "\tRING_TAIL: 0x%08x\n", snapshot->reg.ring_tail);
......
...@@ -183,8 +183,6 @@ struct xe_hw_engine_snapshot { ...@@ -183,8 +183,6 @@ struct xe_hw_engine_snapshot {
u32 ring_execlist_sq_contents_lo; u32 ring_execlist_sq_contents_lo;
/** @ring_execlist_sq_contents_hi: RING_EXECLIST_SQ_CONTENTS + 4 */ /** @ring_execlist_sq_contents_hi: RING_EXECLIST_SQ_CONTENTS + 4 */
u32 ring_execlist_sq_contents_hi; u32 ring_execlist_sq_contents_hi;
/** @ring_execlist_control: RING_EXECLIST_CONTROL */
u32 ring_execlist_control;
/** @ring_start: RING_START */ /** @ring_start: RING_START */
u32 ring_start; u32 ring_start;
/** @ring_head: RING_HEAD */ /** @ring_head: RING_HEAD */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment