ac/parse_ib: Fix printing enc recon VAs on VCN5

Fixes: f8f80c3700 ("ac/parse_ib: Fix VCN address parsing")
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41025>
This commit is contained in:
David Rosca 2026-04-17 13:43:29 +02:00 committed by Marge Bot
parent 1fc8683281
commit 27dbe82800

View file

@ -1379,18 +1379,18 @@ static void print_vcn_reconstructed_picture(FILE *f, struct ac_ib_parser *ib, bo
if (ib->vcn_version >= VCN_5_0_0) {
if (valid) {
print_vcn_addr(f, ib, "%s luma", prefix);
print_vcn_addr(f, ib, true, "%s luma", prefix);
uint32_t luma_pitch = ac_ib_get(ib);
fprintf(f, "%s luma pitch = %u\n", prefix, luma_pitch);
print_vcn_addr(f, ib, "%s chroma", prefix);
print_vcn_addr(f, ib, true, "%s chroma", prefix);
uint32_t chroma_pitch = ac_ib_get(ib);
fprintf(f, "%s chroma pitch = %u\n", prefix, chroma_pitch);
print_vcn_addr(f, ib, "%s chroma V", prefix);
print_vcn_addr(f, ib, true, "%s chroma V", prefix);
uint32_t chroma_v_pitch = ac_ib_get(ib);
fprintf(f, "%s chroma V pitch = %u\n", prefix, chroma_v_pitch);
uint32_t swizzle = ac_ib_get(ib);
fprintf(f, "%s swizzle mode = %u\n", prefix, swizzle);
print_vcn_addr(f, ib, "%s frame context buffer", prefix);
print_vcn_addr(f, ib, true, "%s frame context buffer", prefix);
uint32_t frame_context_offset = ac_ib_get(ib);
fprintf(f, "%s AV1 cdf frame context offset / colloc buffer offset = %u\n", prefix, frame_context_offset);
uint32_t cdef_offset = ac_ib_get(ib);