mesa/src
David Rosca 35eb12e2fd frontends/va: Evict unused surfaces from encode DPB
Application should send the full DPB state in each pic to keep
the references alive. Ideally the surfaces would be evicted immediately,
but unfortunately this breaks some applications. Add evict flag and
only evict surfaces if not present in reference frames array for two
consecutive frames.
DPB buffers are not destroyed upon eviction, but instead they are kept
around and reused next time a new surface is added to DPB.

Fixes: cc14724d73 ("frontends/va: Implement DPB management for H264/5 encode")
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31741>
2024-10-24 12:36:37 +00:00
..
amd ac/llvm: cast to integer after derivative intrinsics 2024-10-24 11:23:07 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi treewide: don't lower to LCSSA before calling nir_divergence_analysis() 2024-10-24 10:06:17 +00:00
broadcom nir: change signature of nir_src_is_divergent() 2024-10-24 10:06:17 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler treewide: don't lower to LCSSA before calling nir_divergence_analysis() 2024-10-24 10:06:17 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
etnaviv etnaviv: isa: Add img_store instruction 2024-10-23 07:58:04 +00:00
freedreno treewide: use nir_src_is_divergent() rather than checking the divergence of the SSA 2024-10-24 10:06:17 +00:00
gallium frontends/va: Evict unused surfaces from encode DPB 2024-10-24 12:36:37 +00:00
gbm mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: move generate-gfxstream-vulkan.sh script 2024-10-22 18:36:16 +00:00
glx glx: Fix the GLX_EXT_swap_control_tear drawable attributes 2024-10-23 19:55:53 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: Make Vulkan driver depend only on nir headers, not library 2024-10-23 16:47:34 +00:00
imgui
intel treewide: don't lower to LCSSA before calling nir_divergence_analysis() 2024-10-24 10:06:17 +00:00
loader mesa_interface: remove redundant __DRI*Rec types 2024-10-22 06:48:02 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa mesa/st: use drawable->ID as hash for drawable_ht 2024-10-17 21:43:32 +00:00
microsoft nir: always emit ddx intrinsics 2024-10-17 09:50:19 +00:00
nouveau treewide: use nir_src_is_divergent() rather than checking the divergence of the SSA 2024-10-24 10:06:17 +00:00
panfrost panvk: Link with --build-id explicitly 2024-10-24 12:09:16 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/vma: Fix util_vma_heap_get_max_free_continuous_size calculation 2024-10-24 10:50:08 +00:00
virtio virtio/drm: Update header 2024-10-17 18:17:18 +00:00
vulkan wsi/wayland/perfetto: supply presentation clock to perfetto 2024-10-22 21:16:40 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format panfrost: Move ForEachMacros into panfrost 2024-09-12 20:04:58 +00:00
meson.build mesa: add gfxstream-experimental to -Dvulkan-drivers 2024-09-19 20:06:04 +00:00