From 7fa0add77d9fb6eec38f359b2d375ed0036025d3 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Fri, 20 Mar 2026 16:50:43 +0800 Subject: [PATCH] pvr: re-indent pseudocode for DDMADT behavior In pvr_pipeline_pds.c, there's a pseudocode snippet describing the behavior of DDMADT PDS instruction, which seems to be copied from some internal document about PDS behavior. However, the pseudocode isn't properly indented, especially some brackets are misaligned. This blocks fluent reading of the pseudocode and may even mislead the reader. Re-indent the pseudo code with similar rules with C codes in the driver. Signed-off-by: Icenowy Zheng Acked-by: Simon Perretta Part-of: --- src/imagination/vulkan/pds/pvr_pipeline_pds.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/imagination/vulkan/pds/pvr_pipeline_pds.c b/src/imagination/vulkan/pds/pvr_pipeline_pds.c index c48475e3c08..290d18bf2ef 100644 --- a/src/imagination/vulkan/pds/pvr_pipeline_pds.c +++ b/src/imagination/vulkan/pds/pvr_pipeline_pds.c @@ -1056,14 +1056,14 @@ void pvr_pds_generate_vertex_primary_program( * if (test == 1) { * // DDMAD(T) * if (calculated_source_address[39:0] + (burst_size<<2) <= - * base_address[39:0] + buffer_size) { - * OOB := 0 - * DOUTD calculated_source_address,dma_paramters - * } else { - * OOB := 1 - * if (last_instance == 1) { - * dma_parameters[BURST_SIZE] := 0 - * DOUTD calculated_source_address,dma_paramters + * base_address[39:0] + buffer_size) { + * OOB := 0 + * DOUTD calculated_source_address,dma_paramters + * } else { + * OOB := 1 + * if (last_instance == 1) { + * dma_parameters[BURST_SIZE] := 0 + * DOUTD calculated_source_address,dma_paramters * } * } * } else {