mesa/src/amd
David Rosca 0d7117f0d7
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
ac/vcn_dec: Fix tier2 dpb array size
In some cases, this would incorrectly set higher dpbArraySize
when overwriting already existing dpb slot.
This didn't seem to cause any issues, but the extra slot would
have zero va which was wrong.
Get the actual ref count from codec param, instead of using
cmd->num_refs which always includes current slot. Also add sanity
check that the ref surface was found.

Fixes: 79af03556c ("ac: Add VCN ac_video_dec implementation")
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39877>
2026-02-19 12:24:29 +00:00
..
addrlib amd: rename most GFX115x definitions for released chips 2025-12-03 13:29:07 +00:00
ci radv/ci: mark more WSI tests as flakes on NAVI21 2026-02-17 10:39:01 +00:00
common ac/vcn_dec: Fix tier2 dpb array size 2026-02-19 12:24:29 +00:00
compiler aco/ra: create vectors for affinities of split definitions 2026-02-16 19:39:43 +00:00
drm-shim amd/drm-shim: add vega20 2026-01-08 09:30:54 +00:00
gmlib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
lanczoslib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
llvm ac/llvm: remove unused functions 2026-02-13 15:33:19 +00:00
registers
vpelib amd/vpelib: Adding new wrapper for register profiling 2026-02-12 11:56:26 +00:00
vulkan radv: simplify buffer-to-image and image-to-image operations for 96-bit formats 2026-02-19 07:12:47 +00:00
meson.build radv/tests: require drm-shim and use it instead of RADV_FORCE_FAMILY 2025-11-19 07:11:05 +00:00