drm/xe/xe2: Recognize Xe2_HPG IP
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 8 Apr 2024 17:05:35 +0000 (22:35 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 9 Apr 2024 20:57:03 +0000 (13:57 -0700)
Xe2_HPG uses the same general feature flags as Xe2_LPG.  Xe2_HPG is
identified as version 20.01 in the GMD_ID register.

Bspec: 68090
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170545.3769566-2-balasubramani.vivekanandan@intel.com
drivers/gpu/drm/xe/xe_pci.c

index 7ce37b28bfa4eedd3c88c5d69d9c5b6b23c5f1e4..f86f1d0d893d230d2d046ca0aa2769f8162a9ad9 100644 (file)
@@ -174,7 +174,7 @@ static const struct xe_graphics_desc graphics_xelpg = {
                GENMASK(XE_HW_ENGINE_CCS3, XE_HW_ENGINE_CCS0)
 
 static const struct xe_graphics_desc graphics_xe2 = {
-       .name = "Xe2_LPG",
+       .name = "Xe2_LPG / Xe2_HPG",
 
        XE2_GFX_FEATURES,
 };
@@ -344,6 +344,7 @@ static const struct gmdid_map graphics_ip_map[] = {
        { 1270, &graphics_xelpg },
        { 1271, &graphics_xelpg },
        { 1274, &graphics_xelpg },      /* Xe_LPG+ */
+       { 2001, &graphics_xe2 },
        { 2004, &graphics_xe2 },
 };