[PATCH 10/10] drm/i915/display: add probe message

Rodrigo Vivi rodrigo.vivi at intel.com
Thu May 23 18:33:12 UTC 2024


On Wed, May 22, 2024 at 08:33:47PM +0300, Jani Nikula wrote:
> Add an info message about which display device was probed.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display_device.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
> index 59b8ca174ef8..5b6dfb5032e7 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_device.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_device.c
> @@ -1305,6 +1305,11 @@ void intel_display_device_probe(struct drm_i915_private *i915)
>  	if (ip_ver.ver || ip_ver.rel || ip_ver.step)
>  		DISPLAY_RUNTIME_INFO(i915)->ip = ip_ver;
>  
> +	drm_info(&i915->drm, "Found %s%s%s (device ID %04x) display version %u.%02u\n",
> +		 desc->name, subdesc ? "/" : "", subdesc ? subdesc->name : "",
> +		 pdev->device, DISPLAY_RUNTIME_INFO(i915)->ip.ver,
> +		 DISPLAY_RUNTIME_INFO(i915)->ip.rel);
> +
>  	return;
>  
>  no_display:
> -- 
> 2.39.2
> 


More information about the Intel-xe mailing list