aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Roper <[email protected]>2023-08-11 09:06:12 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:40:25 -0500
commit595e4a3aade359f8e3bc84bd30746cb5826c4e67 (patch)
tree085407f469b711ba0ecc094513967751b9864a89
parent2985bedc1c59441f4b0d4724a1c2211e0b6b4a19 (diff)
drm/xe/xe2: Define Xe2_LPM IP features
Xe2_LPM media is represented by GMD_ID value 20.00. It provides 1 VD + 1 VE + 1 SFC. Bspec: 70821, 70819 Signed-off-by: Matt Roper <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: Balasubramani Vivekanandan <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
-rw-r--r--drivers/gpu/drm/xe/xe_pci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 46145340ae90..467b0cef6d21 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -209,6 +209,12 @@ static const struct xe_media_desc media_xelpmp = {
BIT(XE_HW_ENGINE_VECS0), /* TODO: add GSC0 */
};
+static const struct xe_media_desc media_xe2 = {
+ .name = "Xe2_LPM",
+ .hw_engine_mask =
+ BIT(XE_HW_ENGINE_VCS0) | BIT(XE_HW_ENGINE_VECS0), /* TODO: GSC0 */
+};
+
static const struct xe_device_desc tgl_desc = {
.graphics = &graphics_xelp,
.media = &media_xem,
@@ -320,6 +326,7 @@ static struct gmdid_map graphics_ip_map[] = {
/* Map of GMD_ID values to media IP */
static struct gmdid_map media_ip_map[] = {
{ 1300, &media_xelpmp },
+ { 2000, &media_xe2 },
};
#define INTEL_VGA_DEVICE(id, info) { \