Commit 595e4a3a authored by Matt Roper's avatar Matt Roper Committed by Rodrigo Vivi

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: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 2985bedc
...@@ -209,6 +209,12 @@ static const struct xe_media_desc media_xelpmp = { ...@@ -209,6 +209,12 @@ static const struct xe_media_desc media_xelpmp = {
BIT(XE_HW_ENGINE_VECS0), /* TODO: add GSC0 */ 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 = { static const struct xe_device_desc tgl_desc = {
.graphics = &graphics_xelp, .graphics = &graphics_xelp,
.media = &media_xem, .media = &media_xem,
...@@ -320,6 +326,7 @@ static struct gmdid_map graphics_ip_map[] = { ...@@ -320,6 +326,7 @@ static struct gmdid_map graphics_ip_map[] = {
/* Map of GMD_ID values to media IP */ /* Map of GMD_ID values to media IP */
static struct gmdid_map media_ip_map[] = { static struct gmdid_map media_ip_map[] = {
{ 1300, &media_xelpmp }, { 1300, &media_xelpmp },
{ 2000, &media_xe2 },
}; };
#define INTEL_VGA_DEVICE(id, info) { \ #define INTEL_VGA_DEVICE(id, info) { \
......
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