intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v2] drm/xe/display: Print display ip version
@ 2023-09-06  6:14 Balasubramani Vivekanandan
  2023-09-06  6:12 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe/display: Print display ip version (rev2) Patchwork
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Balasubramani Vivekanandan @ 2023-09-06  6:14 UTC (permalink / raw)
  To: intel-xe

Print display ip version during module load

Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
---
 drivers/gpu/drm/xe/xe_pci.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 60f3474844e2..60927ad7fa27 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -844,6 +844,13 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 		str_yes_no(xe->info.enable_display),
 		xe->info.dma_mask_size, xe->info.tile_count);
 
+#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
+	if (xe->info.enable_display)
+		drm_dbg(&xe->drm, "Display: %d.%02d\n",
+			xe->info.display_runtime.ip.ver,
+			xe->info.display_runtime.ip.rel);
+#endif
+
 	drm_dbg(&xe->drm, "Stepping = (G:%s, M:%s, D:%s, B:%s)\n",
 		xe_step_name(xe->info.step.graphics),
 		xe_step_name(xe->info.step.media),
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-09-07 18:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  6:14 [Intel-xe] [PATCH v2] drm/xe/display: Print display ip version Balasubramani Vivekanandan
2023-09-06  6:12 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe/display: Print display ip version (rev2) Patchwork
2023-09-06  6:12 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-09-06  6:13 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-09-06  6:20 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-06  6:20 ` [Intel-xe] ✗ CI.Hooks: failure " Patchwork
2023-09-06  6:22 ` [Intel-xe] ✓ CI.checksparse: success " Patchwork
2023-09-06  8:50 ` [Intel-xe] [PATCH v2] drm/xe/display: Print display ip version Jani Nikula
2023-09-06  8:51 ` Jani Nikula
2023-09-07 18:03 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe/display: Print display ip version (rev3) Patchwork
2023-09-07 18:03 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-09-07 18:04 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-09-07 18:11 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-09-07 18:12 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-09-07 18:13 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-09-07 18:45 ` [Intel-xe] ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).