drm/xe/xe2: Add workaround 14021567978
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Wed, 10 Apr 2024 06:46:40 +0000 (12:16 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 24 Apr 2024 22:34:01 +0000 (15:34 -0700)
Workaround 14021567978 applies to RenderCS xe2

V3:
  - Cover xe2_hpg as its landed upstream now
V2(MattR):
  - Move tuning to wa and apply to xe2

Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240410064640.1010098-1-tejas.upadhyay@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_wa.c

index dcf7ed51757cdf9cac93ee44a7fbb8f9f3ec140d..9d9b7fa7a8f0a5685920ca6fcee2a650ab816ad5 100644 (file)
@@ -673,6 +673,11 @@ static const struct xe_rtp_entry_sr lrc_was[] = {
          XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, 2004), ENGINE_CLASS(RENDER)),
          XE_RTP_ACTIONS(SET(COMMON_SLICE_CHICKEN1, DISABLE_BOTTOM_CLIP_RECTANGLE_TEST))
        },
+       { XE_RTP_NAME("14021567978"),
+         XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED),
+                      ENGINE_CLASS(RENDER)),
+         XE_RTP_ACTIONS(SET(CHICKEN_RASTER_2, TBIMR_FAST_CLIP))
+       },
 
        /* Xe2_HPG */
        { XE_RTP_NAME("15010599737"),