mesa/src/amd/common
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
..
nir ac/nir/ngg: re-enable use of known compile-time GS connectivity 2026-02-18 01:29:37 +00:00
virtio amd/common/virtio: use device fd to init sync provider 2026-01-27 08:24:35 +00:00
.clang-format
ac_binary.c
ac_binary.h
ac_cmdbuf.c radv: track redundant PA_SC_VRS_OVERRIDE_CNTL register writes 2026-02-06 07:15:10 +00:00
ac_cmdbuf.h radv: track redundant PA_SC_VRS_OVERRIDE_CNTL register writes 2026-02-06 07:15:10 +00:00
ac_cmdbuf_cp.c ac,radv,radeonsi: shorten some emit macro names 2026-02-04 13:27:49 +00:00
ac_cmdbuf_cp.h
ac_cmdbuf_sdma.c ac,radv,radeonsi: use correct swizzle/pitch for depth-only images with SDMA 2026-02-13 07:52:29 +01:00
ac_cmdbuf_sdma.h ac,radv,radeonsi: use correct swizzle/pitch for depth-only images with SDMA 2026-02-13 07:52:29 +01:00
ac_debug.c ac/debug: add a function that dumps texture descriptors 2026-01-16 11:35:34 +00:00
ac_debug.h ac/debug: add a function that dumps texture descriptors 2026-01-16 11:35:34 +00:00
ac_descriptors.c ac: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +00:00
ac_descriptors.h ac: add FMASK codes 2026-02-03 17:10:32 +00:00
ac_drm_fourcc.h
ac_formats.c
ac_formats.h
ac_gather_context_rolls.c
ac_gpu_info.c ac/gpu_info: Remove FIXME from regalloc hang description 2026-01-21 17:24:57 +00:00
ac_gpu_info.h
ac_hw_stage.h
ac_ib_parser.c
ac_linux_drm.c
ac_linux_drm.h
ac_msgpack.c
ac_msgpack.h
ac_null_device.c
ac_null_device.h
ac_parse_ib.c
ac_perfcounter.c ac/perfcounter: use GFX11 definition for GFX11.5 2026-01-13 22:16:40 +00:00
ac_perfcounter.h ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx10.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx11.c ac/perfcounter: re-order GPU perf blocks on GFX11 2026-01-12 08:10:33 +00:00
ac_perfcounter_gfx12.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx103.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_pm4.c
ac_pm4.h
ac_rgp.c ac,radv: sample and set correct shader/memory clocks for RGP 2026-01-12 11:58:43 +00:00
ac_rgp.h radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
ac_rgp_elf_object_pack.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
ac_rtld.c
ac_rtld.h
ac_shader_args.c
ac_shader_args.h radv,aco: Use function call structure for RT programs 2026-01-14 14:19:07 +00:00
ac_shader_debug_info.h
ac_shader_util.c
ac_shader_util.h
ac_shadowed_regs.c
ac_shadowed_regs.h
ac_spm.c ac,radv,radeonsi: shorten some emit macro names 2026-02-04 13:27:49 +00:00
ac_spm.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_sqtt.c radv/sqtt: Prevent concurrent submit when sqtt is enabled 2026-01-21 18:55:56 +00:00
ac_sqtt.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_surface.c ac: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +00:00
ac_surface.h ac: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +00:00
ac_surface_meta_address_test.c
ac_surface_modifier_test.c
ac_surface_test.h
ac_uvd_dec.c ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_uvd_dec.h ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_vcn.h
ac_vcn_av1_default.h
ac_vcn_dec.c ac/vcn_dec: Fix tier2 dpb array size 2026-02-19 12:24:29 +00:00
ac_vcn_dec.h ac/vcn_dec: Make the helper functions static 2026-02-12 15:38:26 +00:00
ac_vcn_enc.c
ac_vcn_enc.h
ac_vcn_enc_av1_default_cdf.h
ac_vcn_vp9_default.h
ac_video.h ac: Add video decode interface 2026-02-12 15:38:25 +00:00
ac_video_dec.c ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_video_dec.h ac: Add video decode interface 2026-02-12 15:38:25 +00:00
amd_family.c
amd_family.h
gfx10_format_table.h
gfx10_format_table.py
meson.build ac/nir,radv,radeonsi: flip branches to avoid waitcnts 2026-02-16 19:39:43 +00:00
sid.h radv: use the SQTT enable bit for PKT3_DISPATCH_TASKMESH_INDIRECT_MULTI_ACE 2026-01-26 08:10:53 +00:00
sid_tables.py