[Intel-xe] [PATCH v3 9/9] drm/xe: Clean up xe_device_desc

Lucas De Marchi lucas.demarchi at intel.com
Fri Apr 7 14:04:51 UTC 2023


On Thu, Apr 06, 2023 at 04:56:21PM -0700, Matt Roper wrote:
>Now that most of the characteristics of a device are associated with the
>graphics and media IPs, the remaining contents of xe_device_desc can be
>cleaned up a bit:
>
> * 'gt' is unused; drop it
> * DEV_INFO_FOR_EACH_FLAG only covers two flags and is only used in this
>   one file; drop the unnecessary macro complexity
> * Convert .has_4tile to a single bitfield bit so that it can be packed
>   with the other feature flags
> * Move 'platform' lower in the structure for better packing
>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi


More information about the Intel-xe mailing list