[Intel-xe] [PATCH v2 09/15] drm/xe/xe2: Define Xe2_LPM IP features

Lucas De Marchi lucas.demarchi at intel.com
Mon Aug 21 18:46:10 UTC 2023


On Mon, Aug 21, 2023 at 07:23:36AM -0700, Matt Roper wrote:
>On Fri, Aug 18, 2023 at 03:08:18PM -0700, 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.
>
>I don't see 20.04 listed in the latest bspec.  I think 20.00 is the only
>version now.

Right, I may have confused with the display part when tweaking this
patch. Queued to fix in v3.

thanks
Lucas De Marchi

>
>
>Matt
>
>> 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(+)
>>
>> 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
>>
>
>-- 
>Matt Roper
>Graphics Software Engineer
>Linux GPU Platform Enablement
>Intel Corporation


More information about the Intel-xe mailing list