From 0908694f027342bfb2d505514e9ecf9c2b5d2e51 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Thu, 18 Sep 2025 15:54:42 +0200 Subject: [PATCH] freedreno/decode: Fix preamble decoding Fixes: 46ad5a01a89 ("freedreno: Rename CP_SET_CTXSWITCH_IB to CP_SET_AMBLE") Signed-off-by: Danylo Piliaiev Part-of: --- src/freedreno/decode/cffdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/decode/cffdec.c b/src/freedreno/decode/cffdec.c index 513ea8f6eb1..8e17eb15934 100644 --- a/src/freedreno/decode/cffdec.c +++ b/src/freedreno/decode/cffdec.c @@ -2920,7 +2920,7 @@ cp_reg_write(uint32_t *dwords, uint32_t sizedwords, int level) } static void -cp_set_ctxswitch_ib(uint32_t *dwords, uint32_t sizedwords, int level) +cp_set_amble(uint32_t *dwords, uint32_t sizedwords, int level) { uint64_t addr; uint32_t size = dwords[2] & 0xffff; @@ -3005,7 +3005,7 @@ static const struct type3_op { CP(REG_WRITE, cp_reg_write), CP(DRAW_AUTO, cp_draw_auto, {.load_all_groups = true}), - CP(SET_CTXSWITCH_IB, cp_set_ctxswitch_ib), + CP(SET_AMBLE, cp_set_amble), CP(START_BIN, cp_start_bin),