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

Bspec: 68090, 67163
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-3-balasubramani.vivekanandan@intel.com
drivers/gpu/drm/xe/xe_pci.c

index f86f1d0d893d230d2d046ca0aa2769f8162a9ad9..15f626dbf10bbcc3aae0ec190cd7490bff188db1 100644 (file)
@@ -207,7 +207,7 @@ static const struct xe_media_desc media_xelpmp = {
 };
 
 static const struct xe_media_desc media_xe2 = {
-       .name = "Xe2_LPM",
+       .name = "Xe2_LPM / Xe2_HPM",
        .hw_engine_mask =
                BIT(XE_HW_ENGINE_VCS0) | BIT(XE_HW_ENGINE_VECS0), /* TODO: GSC0 */
 };
@@ -351,6 +351,7 @@ static const struct gmdid_map graphics_ip_map[] = {
 /* Map of GMD_ID values to media IP */
 static const struct gmdid_map media_ip_map[] = {
        { 1300, &media_xelpmp },
+       { 1301, &media_xe2 },
        { 2000, &media_xe2 },
 };