From 0d08b197f2f66b2cf080e8332f46387eb99e5d55 Mon Sep 17 00:00:00 2001 From: Marc Alcala Prieto Date: Wed, 8 Apr 2026 10:47:24 +0200 Subject: [PATCH] pan/cs: Fix cs_run_fragment() calls with swapped arguments Fix non-functional issue where calls to cs_run_fragment() had swapped tile_order and enable_tem arguments. Both arguments evaluate to 0. Hence, no functional change. Fixes: 53f780ec916 ("panfrost: Remove progress_increment from all CS builders") Reviewed-by: Lars-Ivar Hesselberg Simonsen Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/drivers/panfrost/pan_csf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_csf.c b/src/gallium/drivers/panfrost/pan_csf.c index 4f94fff9189..35207942b62 100644 --- a/src/gallium/drivers/panfrost/pan_csf.c +++ b/src/gallium/drivers/panfrost/pan_csf.c @@ -151,7 +151,7 @@ csf_oom_handler_init(struct panfrost_context *ctx) /* Run the fragment job and wait */ cs_select_endpoint_sb(&b, 3); - cs_run_fragment(&b, MALI_TILE_RENDER_ORDER_Z_ORDER, false); + cs_run_fragment(&b, false, MALI_TILE_RENDER_ORDER_Z_ORDER); cs_wait_slot(&b, 3); /* Increment counter */ @@ -877,7 +877,7 @@ GENX(csf_emit_fragment_job)(struct panfrost_batch *batch, } /* Run the fragment job and wait */ - cs_run_fragment(b, MALI_TILE_RENDER_ORDER_Z_ORDER, false); + cs_run_fragment(b, false, MALI_TILE_RENDER_ORDER_Z_ORDER); cs_wait_slot(b, 2); /* Gather freed heap chunks and add them to the heap context free list