]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe: Restore IDLEDLY regiter on engine reset
authorBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Fri, 22 May 2026 16:35:32 +0000 (22:05 +0530)
committerBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Wed, 27 May 2026 13:41:24 +0000 (19:11 +0530)
Wa_16023105232 programs the register IDLEDLY. The register is reset
whenever the engine is reset. Therefore it should be added to the GuC
save-restore register list for it to be restored after reset.

Fixes: 7c53ff050ba8 ("drm/xe: Apply Wa_16023105232")
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20260522163531.1365540-2-balasubramani.vivekanandan@intel.com
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
drivers/gpu/drm/xe/xe_guc_ads.c

index b9bca6084a4fadc2357e1064997c53aa23c182b0..c98454545a85862e4f56df9b5c8e1f3bb2af3205 100644 (file)
@@ -768,6 +768,11 @@ static unsigned int guc_mmio_regset_write(struct xe_guc_ads *ads,
                }
        }
 
+       if (XE_GT_WA(hwe->gt, 16023105232))
+               guc_mmio_regset_write_one(ads, regset_map,
+                                         RING_IDLEDLY(hwe->mmio_base),
+                                         count++);
+
        return count;
 }