]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/guc: Add Wa_14025883347 for GuC DMA failure on reset
authorSk Anirban <sk.anirban@intel.com>
Mon, 2 Feb 2026 10:53:15 +0000 (16:23 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 9 Feb 2026 20:00:16 +0000 (12:00 -0800)
commitc57db41b8d2cd410e7219729f446aa17965485ad
treee87ca61353f3a70794201b55ea3398a4fa58b8d8
parentdc90ead44054736131f73b1dd319b8be06088d36
drm/xe/guc: Add Wa_14025883347 for GuC DMA failure on reset

Prevent GuC firmware DMA failures during GuC-only reset by disabling
idle flow and verifying SRAM handling completion. Without this, reset
can be issued while SRAM handler is copying WOPCM to SRAM,
causing GuC HW to get stuck.

v2: Modify error message (Badal)
    Rename reg bit name (Daniele)
    Update WA skip condition (Daniele)
    Update SRAM handling logic (Daniele)
v3: Reorder WA call (Badal)
    Wait for GuC ready status (Daniele)
v4: Update reg name (Badal)
    Add comment (Daniele)
    Add extended graphics version (Daniele)
    Modify rules

Signed-off-by: Sk Anirban <sk.anirban@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Acked-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patch.msgid.link/20260202105313.3338094-4-sk.anirban@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/regs/xe_guc_regs.h
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_wa_oob.rules