All of lore.kernel.org
 help / color / mirror / Atom feed
* [CI] drm/xe/guc: Remove spurious line feed in debug print
@ 2024-06-26 20:12 Michal Wajdeczko
  2024-06-26 20:18 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Michal Wajdeczko @ 2024-06-26 20:12 UTC (permalink / raw)
  To: intel-xe

From: John Harrison <John.C.Harrison@Intel.com>

Including line feeds at the start of a debug print messes up the
output when sent to dmesg. The break actually appears between all the
usefu prefix information and the actual string being printed. In this
case, each block of data has a very clear start line and an extra
delimeter is really not necessary. So don't do it.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
cherry-picked from [1]

[1] https://patchwork.freedesktop.org/patch/598024/?series=134695&rev=2
---
 drivers/gpu/drm/xe/xe_guc_ct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
index 873d1bcbedd7..113e6348c6ac 100644
--- a/drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/drivers/gpu/drm/xe/xe_guc_ct.c
@@ -1489,7 +1489,7 @@ void xe_guc_ct_snapshot_print(struct xe_guc_ct_snapshot *snapshot,
 		drm_puts(p, "H2G CTB (all sizes in DW):\n");
 		guc_ctb_snapshot_print(&snapshot->h2g, p);
 
-		drm_puts(p, "\nG2H CTB (all sizes in DW):\n");
+		drm_puts(p, "G2H CTB (all sizes in DW):\n");
 		guc_ctb_snapshot_print(&snapshot->g2h, p);
 
 		drm_printf(p, "\tg2h outstanding: %d\n",
-- 
2.43.0


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

end of thread, other threads:[~2024-07-03 21:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 20:12 [CI] drm/xe/guc: Remove spurious line feed in debug print Michal Wajdeczko
2024-06-26 20:18 ` ✓ CI.Patch_applied: success for " Patchwork
2024-06-26 20:19 ` ✓ CI.checkpatch: " Patchwork
2024-06-26 20:21 ` ✓ CI.KUnit: " Patchwork
2024-06-26 20:34 ` ✓ CI.Build: " Patchwork
2024-06-26 20:35 ` [CI] " Souza, Jose
2024-06-26 21:18   ` Michal Wajdeczko
2024-06-27 13:53     ` Souza, Jose
2024-06-27 14:42       ` Michal Wajdeczko
2024-06-27 15:27         ` Souza, Jose
2024-07-03 14:15           ` Rodrigo Vivi
2024-07-03 14:54             ` Michal Wajdeczko
2024-07-03 21:18               ` Rodrigo Vivi
2024-06-26 20:37 ` ✓ CI.Hooks: success for " Patchwork
2024-06-26 20:38 ` ✓ CI.checksparse: " Patchwork
2024-06-26 21:10 ` ✓ CI.BAT: " Patchwork
2024-06-27  6:07 ` ✗ CI.FULL: failure " 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.