Skip to content

Commit

Permalink
drm/xe/xe2: Recognize Xe2_HPM IP
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Balasubramani Vivekanandan <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
mattrope committed Apr 9, 2024
1 parent 8d315b8 commit 90d3086
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/xe/xe_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down Expand Up @@ -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 },
};

Expand Down

0 comments on commit 90d3086

Please sign in to comment.