]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/xe3: Apply wa_14024997852
authorTapani Pälli <tapani.palli@intel.com>
Wed, 29 Oct 2025 08:50:57 +0000 (10:50 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 29 Oct 2025 22:22:07 +0000 (15:22 -0700)
Whitelist registers needed for userspace to control autostrip on xe3.

v2: fix GRAPHICS_VERSION to match xe3 (Matt)
v3: use GRAPHICS_VERSION_RANGE to match all xe3 (Matt)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20251029085057.54210-1-tapani.palli@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_reg_whitelist.c

index 690bc327a363923e5bd30b82afc459865f4f1684..7ca360b2c20d69434158bdd4596c5c6cf53116fc 100644 (file)
@@ -89,6 +89,13 @@ static const struct xe_rtp_entry_sr register_whitelist[] = {
                                   RING_FORCE_TO_NONPRIV_ACCESS_RD |
                                   RING_FORCE_TO_NONPRIV_RANGE_4))
        },
+       { XE_RTP_NAME("14024997852"),
+         XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, 3005), ENGINE_CLASS(RENDER)),
+         XE_RTP_ACTIONS(WHITELIST(FF_MODE,
+                                  RING_FORCE_TO_NONPRIV_ACCESS_RW),
+                        WHITELIST(VFLSKPD,
+                                  RING_FORCE_TO_NONPRIV_ACCESS_RW))
+       },
 };
 
 static void whitelist_apply_to_hwe(struct xe_hw_engine *hwe)