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 <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Matt Roper 2023-08-11 09:06:12 -07:00 committed by Rodrigo Vivi
parent 2985bedc1c
commit 595e4a3aad

View File

@ -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) { \