drm/xe: Remove double new lines in devcoredump
Right now devcoredump has a new line between '**** GuC CT ****' and 'H2G CTB (all sizes in DW):' while other sections don't have. v2: remove double new line after IPEHR Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Maarten Lankhorst <dev@lankhorst.se> Cc: Stuart Summers <stuart.summers@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240123204454.246788-1-jose.souza@intel.com
This commit is contained in:
@@ -1366,7 +1366,7 @@ void xe_guc_ct_snapshot_print(struct xe_guc_ct_snapshot *snapshot,
|
||||
return;
|
||||
|
||||
if (snapshot->ct_enabled) {
|
||||
drm_puts(p, "\nH2G CTB (all sizes in DW):\n");
|
||||
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");
|
||||
@@ -1375,7 +1375,7 @@ void xe_guc_ct_snapshot_print(struct xe_guc_ct_snapshot *snapshot,
|
||||
drm_printf(p, "\tg2h outstanding: %d\n",
|
||||
snapshot->g2h_outstanding);
|
||||
} else {
|
||||
drm_puts(p, "\nCT disabled\n");
|
||||
drm_puts(p, "CT disabled\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -856,7 +856,7 @@ void xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot,
|
||||
drm_printf(p, "\tDMA_FADDR: 0x%08x_%08x\n",
|
||||
snapshot->reg.ring_dma_fadd_udw,
|
||||
snapshot->reg.ring_dma_fadd);
|
||||
drm_printf(p, "\tIPEHR: 0x%08x\n\n", snapshot->reg.ipehr);
|
||||
drm_printf(p, "\tIPEHR: 0x%08x\n", snapshot->reg.ipehr);
|
||||
if (snapshot->class == XE_ENGINE_CLASS_COMPUTE)
|
||||
drm_printf(p, "\tRCU_MODE: 0x%08x\n",
|
||||
snapshot->reg.rcu_mode);
|
||||
|
||||
Reference in New Issue
Block a user