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>
(cherry picked from commit 27dbe82800)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41104>
This commit is contained in:
David Rosca 2026-04-17 13:43:29 +02:00 committed by Eric Engestrom
parent 188d248654
commit c61af6270d
2 changed files with 5 additions and 5 deletions

View file

@ -514,7 +514,7 @@
"description": "ac/parse_ib: Fix printing enc recon VAs on VCN5",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "f8f80c3700045acd7fae81e3e6139d70900ac785",
"notes": null

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);