[Intel-xe] [PATCH v2 09/15] drm/xe/xe2: Define Xe2_LPM IP features
Balasubramani Vivekanandan
balasubramani.vivekanandan at intel.com
Tue Aug 22 05:41:30 UTC 2023
On 18.08.2023 15:08, Lucas De Marchi wrote:
> From: Matt Roper <matthew.d.roper at intel.com>
>
> Xe2_LPM media is represented by GMD_ID values 20.00 and 20.04.
> It provides 1 VD + 1 VE + 1 SFC.
>
> Bspec: 70821, 70819
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
Regards,
Bala
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index ed6c4bf8c63b..fdd2eba1b91f 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -221,6 +221,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,
> @@ -344,6 +350,8 @@ 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 },
> + { 2004, &media_xe2 },
> };
>
> #define INTEL_VGA_DEVICE(id, info) { \
> --
> 2.40.1
>
More information about the Intel-xe
mailing list