summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_display_device.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-05-22 19:33:47 +0200
committerJani Nikula <jani.nikula@intel.com>2024-05-31 09:13:25 +0200
commit53d916d9a425fb10e974318991b9748a05efaaea (patch)
tree0e3b36bb8e57bbc9483a1c6cb8ca667bb4127f17 /drivers/gpu/drm/i915/display/intel_display_device.c
parentdrm/i915/display: add support for subplatforms (diff)
downloadlinux-53d916d9a425fb10e974318991b9748a05efaaea.tar.xz
linux-53d916d9a425fb10e974318991b9748a05efaaea.zip
drm/i915/display: add probe message
Add an info message about which display device was probed. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/f9a4d015a2981ace2ef5b40b189efeaf6b18fb29.1716399081.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_device.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display_device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
index 34ae02ca4ad2..b8b56ace7583 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: