From 8d55a1e1123cfb1b50ffd182568451747c1407f9 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 9 Mar 2021 15:39:43 +0100 Subject: [PATCH] freedreno/a6xx: Fix compute threadsize type And use the variable for the other threadsize field. Part-of: --- src/gallium/drivers/freedreno/a6xx/fd6_compute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_compute.c b/src/gallium/drivers/freedreno/a6xx/fd6_compute.c index e069f19..ff1058e 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_compute.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_compute.c @@ -92,7 +92,7 @@ cs_program_emit(struct fd_context *ctx, struct fd_ringbuffer *ring, A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID(regid(63, 0)) | A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID(local_invocation_id)); OUT_RING(ring, A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID(regid(63, 0)) | - A6XX_HLSQ_CS_CNTL_1_THREADSIZE(THREAD128)); + A6XX_HLSQ_CS_CNTL_1_THREADSIZE(thrsz)); OUT_PKT4(ring, REG_A6XX_SP_CS_OBJ_START, 2); OUT_RELOC(ring, v->bo, 0, 0, 0); /* SP_CS_OBJ_START_LO/HI */ -- 2.7.4