[PATCH 9/9] drm/xe: Remove addional spaces in devcoredump HW Engines section

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Jan 22 20:18:45 UTC 2024


On Mon, Jan 22, 2024 at 09:04:45AM -0800, José Roberto de Souza wrote:
> I guess the indention was to keep it visually aligned but that
> would require a lot of spaces and was not followed by other registers
> so lets just drop it.
> 
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Cc: Maarten Lankhorst <dev at lankhorst.se>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_hw_engine.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
> index 9fc30ecec0a26..6927ce07bdfe7 100644
> --- a/drivers/gpu/drm/xe/xe_hw_engine.c
> +++ b/drivers/gpu/drm/xe/xe_hw_engine.c
> @@ -838,17 +838,17 @@ void xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot,
>  	drm_printf(p, "\tRING_EXECLIST_SQ_CONTENTS: 0x%016llx\n",
>  		   snapshot->reg.ring_execlist_sq_contents);
>  	drm_printf(p, "\tRING_START: 0x%08x\n", snapshot->reg.ring_start);
> -	drm_printf(p, "\tRING_HEAD:  0x%08x\n", snapshot->reg.ring_head);
> -	drm_printf(p, "\tRING_TAIL:  0x%08x\n", snapshot->reg.ring_tail);
> +	drm_printf(p, "\tRING_HEAD: 0x%08x\n", snapshot->reg.ring_head);
> +	drm_printf(p, "\tRING_TAIL: 0x%08x\n", snapshot->reg.ring_tail);
>  	drm_printf(p, "\tRING_CTL: 0x%08x\n", snapshot->reg.ring_ctl);
>  	drm_printf(p, "\tRING_MI_MODE: 0x%08x\n", snapshot->reg.ring_mi_mode);
>  	drm_printf(p, "\tRING_MODE: 0x%08x\n",
>  		   snapshot->reg.ring_mode);
> -	drm_printf(p, "\tRING_IMR:   0x%08x\n", snapshot->reg.ring_imr);
> -	drm_printf(p, "\tRING_ESR:   0x%08x\n", snapshot->reg.ring_esr);
> -	drm_printf(p, "\tRING_EMR:   0x%08x\n", snapshot->reg.ring_emr);
> -	drm_printf(p, "\tRING_EIR:   0x%08x\n", snapshot->reg.ring_eir);
> -	drm_printf(p, "\tACTHD:  0x%016llx\n", snapshot->reg.ring_acthd);
> +	drm_printf(p, "\tRING_IMR: 0x%08x\n", snapshot->reg.ring_imr);
> +	drm_printf(p, "\tRING_ESR: 0x%08x\n", snapshot->reg.ring_esr);
> +	drm_printf(p, "\tRING_EMR: 0x%08x\n", snapshot->reg.ring_emr);
> +	drm_printf(p, "\tRING_EIR: 0x%08x\n", snapshot->reg.ring_eir);
> +	drm_printf(p, "\tACTHD: 0x%016llx\n", snapshot->reg.ring_acthd);
>  	drm_printf(p, "\tBBADDR: 0x%016llx\n", snapshot->reg.ring_bbaddr);
>  	drm_printf(p, "\tDMA_FADDR: 0x%016llx\n", snapshot->reg.ring_dma_fadd);
>  	drm_printf(p, "\tIPEHR: 0x%08x\n\n", snapshot->reg.ipehr);
> -- 
> 2.43.0
> 


More information about the Intel-xe mailing list