[PATCH 2/3] drm/xe/devcoredump: Temporarily disable the line wrapping of ASCII85 output

John.C.Harrison at Intel.com John.C.Harrison at Intel.com
Wed Jan 22 21:46:00 UTC 2025


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

Line wrapping is required for doing emergency dumps to dmesg. However,
it currently breaks a mesa debug tool. So temporarily disable the wraps.

Signed-off-by: John Harrison <John.C.Harrison at Intel.com>
---
 drivers/gpu/drm/xe/xe_devcoredump.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_devcoredump.c b/drivers/gpu/drm/xe/xe_devcoredump.c
index 81dc7795c065..18a7ddb561d8 100644
--- a/drivers/gpu/drm/xe/xe_devcoredump.c
+++ b/drivers/gpu/drm/xe/xe_devcoredump.c
@@ -462,7 +462,8 @@ void xe_print_blob_ascii85(struct drm_printer *p, const char *prefix,
 		line_pos += strlen(line_buff + line_pos);
 
 		if ((line_pos + MIN_SPACE) >= DMESG_MAX_LINE_LEN) {
-			line_buff[line_pos++] = '\n';
+			/* Line wrapping currently breaks a mesa debug tool. */
+			/* line_buff[line_pos++] = '\n'; */
 			line_buff[line_pos++] = 0;
 
 			drm_puts(p, line_buff);
-- 
2.47.0



More information about the Intel-xe mailing list