]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/xe3: Add support for graphics IP version 30.03
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 13 Jun 2025 19:31:39 +0000 (01:01 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 18 Jun 2025 22:41:49 +0000 (15:41 -0700)
Graphics version 30.03 should be treated the same as other Xe3 IP, but
will have a slightly different set of workarounds.

-v2: Merge and extend the WA onto existing entry (Bala)
-v3: Revert v2's feedback changes and keep entry saparate (Matt).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@inte.com>
Link: https://lore.kernel.org/r/20250613193146.3549862-3-dnyaneshwar.bhadane@intel.com
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_wa.c
drivers/gpu/drm/xe/xe_wa_oob.rules

index 89814b32e585d73f2f43d068f12ba65a3f5705c1..014689898d969beae21b56e77fe46ef7d3dfbd00 100644 (file)
@@ -184,6 +184,7 @@ static const struct xe_ip graphics_ips[] = {
        { 2004, "Xe2_LPG", &graphics_xe2 },
        { 3000, "Xe3_LPG", &graphics_xe2 },
        { 3001, "Xe3_LPG", &graphics_xe2 },
+       { 3003, "Xe3_LPG", &graphics_xe2 },
 };
 
 /* Pre-GMDID Media IPs */
index 4a76de391abb2f86919f32ea8767aa655cdf920b..6baf369fb3300ae54cbe341d60bbdba716c6f9d9 100644 (file)
@@ -644,6 +644,10 @@ static const struct xe_rtp_entry_sr engine_was[] = {
          XE_RTP_ACTIONS(SET(RING_PSMI_CTL(0), RC_SEMA_IDLE_MSG_DISABLE,
                             XE_RTP_ACTION_FLAG(ENGINE_BASE)))
        },
+       { XE_RTP_NAME("14021402888"),
+         XE_RTP_RULES(GRAPHICS_VERSION(3003), FUNC(xe_rtp_match_first_render_or_compute)),
+         XE_RTP_ACTIONS(SET(HALF_SLICE_CHICKEN7, CLEAR_OPTIMIZATION_DISABLE))
+       },
 };
 
 static const struct xe_rtp_entry_sr lrc_was[] = {
index 0ee74a5b24070e899579c3bac79b4723667af3e7..6496a5a17393a8be28195480a1ecce6869c521a8 100644 (file)
 14022293748    GRAPHICS_VERSION_RANGE(2001, 2002)
                GRAPHICS_VERSION(2004)
                GRAPHICS_VERSION_RANGE(3000, 3001)
+               GRAPHICS_VERSION(3003)
 22019794406    GRAPHICS_VERSION_RANGE(2001, 2002)
                GRAPHICS_VERSION(2004)
                GRAPHICS_VERSION_RANGE(3000, 3001)
+               GRAPHICS_VERSION(3003)
 22019338487    MEDIA_VERSION(2000)
                GRAPHICS_VERSION(2001)
                MEDIA_VERSION(3000), MEDIA_STEP(A0, B0), FUNC(xe_rtp_match_not_sriov_vf)
@@ -58,8 +60,10 @@ no_media_l3  MEDIA_VERSION(3000)
                GRAPHICS_VERSION(1260), GRAPHICS_STEP(A0, B0)
 16023105232    GRAPHICS_VERSION_RANGE(2001, 3001)
                MEDIA_VERSION_RANGE(1301, 3000)
+               GRAPHICS_VERSION(3003)
 16026508708    GRAPHICS_VERSION_RANGE(1200, 3001)
                MEDIA_VERSION_RANGE(1300, 3000)
+               GRAPHICS_VERSION(3003)
 
 # SoC workaround - currently applies to all platforms with the following
 # primary GT GMDID