Commit 90d30865 authored by Matt Roper's avatar Matt Roper

drm/xe/xe2: Recognize Xe2_HPM IP

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: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170545.3769566-3-balasubramani.vivekanandan@intel.com
parent 8d315b80
...@@ -207,7 +207,7 @@ static const struct xe_media_desc media_xelpmp = { ...@@ -207,7 +207,7 @@ static const struct xe_media_desc media_xelpmp = {
}; };
static const struct xe_media_desc media_xe2 = { static const struct xe_media_desc media_xe2 = {
.name = "Xe2_LPM", .name = "Xe2_LPM / Xe2_HPM",
.hw_engine_mask = .hw_engine_mask =
BIT(XE_HW_ENGINE_VCS0) | BIT(XE_HW_ENGINE_VECS0), /* TODO: GSC0 */ BIT(XE_HW_ENGINE_VCS0) | BIT(XE_HW_ENGINE_VECS0), /* TODO: GSC0 */
}; };
...@@ -351,6 +351,7 @@ static const struct gmdid_map graphics_ip_map[] = { ...@@ -351,6 +351,7 @@ static const struct gmdid_map graphics_ip_map[] = {
/* Map of GMD_ID values to media IP */ /* Map of GMD_ID values to media IP */
static const struct gmdid_map media_ip_map[] = { static const struct gmdid_map media_ip_map[] = {
{ 1300, &media_xelpmp }, { 1300, &media_xelpmp },
{ 1301, &media_xe2 },
{ 2000, &media_xe2 }, { 2000, &media_xe2 },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment