[Intel-gfx] [PATCH v2 11/12] drm/i915: add media and display versions to device_info print

Jani Nikula jani.nikula at linux.intel.com
Tue Apr 13 09:46:27 UTC 2021


On Mon, 12 Apr 2021, Lucas De Marchi <lucas.demarchi at intel.com> wrote:
> Since we are now converting from a single gen version to graphics_ver,
> media_ver and display_ver, add the last 2 when printing the device info.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_device_info.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
> index b58bc7bff65e..6a351a709417 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -96,6 +96,8 @@ void intel_device_info_print_static(const struct intel_device_info *info,
>  				    struct drm_printer *p)
>  {
>  	drm_printf(p, "graphics_ver: %u\n", info->graphics_ver);
> +	drm_printf(p, "media_ver: %u\n", info->media_ver);
> +	drm_printf(p, "display_ver: %u\n", info->display.ver);
>  	drm_printf(p, "gt: %d\n", info->gt);
>  	drm_printf(p, "iommu: %s\n", iommu_name());
>  	drm_printf(p, "memory-regions: %x\n", info->memory_regions);

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list