All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 1/2] drm/xe: Add DRIVER_DATE to coredump error.
@ 2023-07-26 19:25 Rodrigo Vivi
  2023-07-26 19:25 ` [Intel-xe] [PATCH 2/2] drm/xe: Update DRIVER_DATE to 20230726 Rodrigo Vivi
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Rodrigo Vivi @ 2023-07-26 19:25 UTC (permalink / raw)
  To: intel-xe; +Cc: Rodrigo Vivi

This might be an useful debugging information if the driver
date is properly updated with a certain cadence. With this
we know from which point in time in our development the
driver was from.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/xe/xe_devcoredump.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_devcoredump.c b/drivers/gpu/drm/xe/xe_devcoredump.c
index f53f4b51233a..79b506dc2622 100644
--- a/drivers/gpu/drm/xe/xe_devcoredump.c
+++ b/drivers/gpu/drm/xe/xe_devcoredump.c
@@ -10,6 +10,7 @@
 #include <generated/utsrelease.h>
 
 #include "xe_device.h"
+#include "xe_drv.h"
 #include "xe_engine.h"
 #include "xe_force_wake.h"
 #include "xe_gt.h"
@@ -83,6 +84,7 @@ static ssize_t xe_devcoredump_read(char *buffer, loff_t offset,
 	drm_printf(&p, "**** Xe Device Coredump ****\n");
 	drm_printf(&p, "kernel: " UTS_RELEASE "\n");
 	drm_printf(&p, "module: " KBUILD_MODNAME "\n");
+	drm_printf(&p, "driver date: " DRIVER_DATE "\n");
 
 	ts = ktime_to_timespec64(ss->snapshot_time);
 	drm_printf(&p, "Snapshot time: %lld.%09ld\n", ts.tv_sec, ts.tv_nsec);
-- 
2.41.0


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

end of thread, other threads:[~2023-07-27 14:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26 19:25 [Intel-xe] [PATCH 1/2] drm/xe: Add DRIVER_DATE to coredump error Rodrigo Vivi
2023-07-26 19:25 ` [Intel-xe] [PATCH 2/2] drm/xe: Update DRIVER_DATE to 20230726 Rodrigo Vivi
2023-07-26 19:32   ` Matthew Brost
2023-07-26 19:36     ` Vivi, Rodrigo
2023-07-26 19:29 ` [Intel-xe] [PATCH 1/2] drm/xe: Add DRIVER_DATE to coredump error Matthew Brost
2023-07-26 19:37   ` Vivi, Rodrigo
2023-07-26 20:38     ` Lucas De Marchi
2023-07-26 21:35       ` Rodrigo Vivi
2023-07-26 21:58         ` Lucas De Marchi
2023-07-27  0:11           ` Matthew Brost
2023-07-27 12:04             ` Lucas De Marchi
2023-07-27 14:16               ` Rodrigo Vivi
2023-07-26 20:58 ` [Intel-xe] ✗ CI.Patch_applied: failure for series starting with [1/2] drm/xe: Add DRIVER_DATE to coredump error. (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.