mesa/src/amd/vulkan
Tatsuyuki Ishi c3c3a8926a radv/amdgpu: Separate the concept of residency from use_global_list.
A BO can be always resident by two ways:
1. Through kernel bookkeeping. The BO is created with
   AMDGPU_GEM_CREATE_VM_ALWAYS_VALID and bo->is_local gets set to true.
2. Through the driver global BO list. On every submission, the global
   BO list is added to the CS's BO list.

Until now, use_global_list reflected either 1. or 2. . This commit
changes it to reflect 2. only, and update callsites that checks for
residency to use a new helper.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26591>
2023-12-13 12:03:20 +00:00
..
bvh radv/bvh/ploc: Load child bounds from LDS 2023-09-30 11:49:14 +00:00
layers radv: Add workaround to allow sparse binding on gfx queues. 2023-12-07 11:40:38 +00:00
meta radv: stop clearing FMASK_COMPRESS_1FRAG_ONLY for TC-compat CMASK images 2023-12-13 07:48:51 +00:00
nir radv: add radv_disable_trunc_coord option 2023-11-17 15:15:27 +00:00
radix_sort amd: fix typos 2023-04-13 23:08:22 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv/amdgpu: Separate the concept of residency from use_global_list. 2023-12-13 12:03:20 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
meson.build radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
radv_acceleration_structure.c radv: Do not sync after radv_update_buffer_cp 2023-09-30 11:49:14 +00:00
radv_aco_shader_info.h radv,aco: declare PS epilog VGPR arguments for depth/stencil/samplemask 2023-12-06 11:49:31 +00:00
radv_android.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_buffer.c radv: use 32bit va range for sparse descriptor buffers 2023-12-04 09:59:29 +00:00
radv_check_va.py
radv_cmd_buffer.c radv: stop clearing FMASK_COMPRESS_1FRAG_ONLY for TC-compat CMASK images 2023-12-13 07:48:51 +00:00
radv_constants.h radv: Add RADV_MAX_HIT_ATTRIB_DWORDS 2023-11-02 15:48:36 +00:00
radv_cp_reg_shadowing.c radv: correctly return oom from the device when failing to create a cs 2023-10-27 15:29:32 +00:00
radv_cs.h ac: Remove CIK prefix from SDMA opcodes. 2023-11-18 17:11:00 +01:00
radv_debug.c radv/radeonsi: Forward correct GPU instance to umr. 2023-11-13 13:37:27 +00:00
radv_debug.h radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_descriptor_set.c radv: update symbols that have become aliases for newer ones 2023-12-04 10:45:48 +00:00
radv_descriptor_set.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_device.c radv: stop clearing FMASK_COMPRESS_1FRAG_ONLY for TC-compat CMASK images 2023-12-13 07:48:51 +00:00
radv_device_generated_commands.c radv: add DGC support for mesh shader only 2023-12-05 14:17:39 +00:00
radv_device_memory.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_event.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_formats.c radv: fix VkDrmFormatModifierProperties2EXT for multi-planar formats 2023-12-08 14:21:42 +00:00
radv_image.c radv: Disable HTILE on exclusive images with transfer queues when SDMA doesn't support it. 2023-12-08 14:46:17 +00:00
radv_instance.c radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered 2023-12-12 21:16:39 +00:00
radv_llvm_helper.cpp radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
radv_llvm_helper.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_nir_to_llvm.c radv: Rename radv_nir_compiler_options::robust_buffer_access to robust_buffer_access_llvm 2023-07-04 21:04:21 +01:00
radv_perfcounter.c radv: Add queue family argument to some functions. 2023-10-19 14:35:00 +00:00
radv_physical_device.c radv: advertise VK_KHR_vertex_attribute_divisor 2023-12-13 08:08:21 +00:00
radv_pipeline.c radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered 2023-12-12 21:16:39 +00:00
radv_pipeline_cache.c radv: remove unused code for compiling PS epilogs as part of pipelines 2023-12-06 08:01:46 +00:00
radv_pipeline_compute.c radv: remove unused code for compiling PS epilogs as part of pipelines 2023-12-06 08:01:46 +00:00
radv_pipeline_graphics.c radv: simplify disabling MRT compaction for PS epilogs 2023-12-08 13:52:40 +00:00
radv_pipeline_rt.c radv: add drirc options to force re-compilation of shaders when needed 2023-11-13 10:47:26 +00:00
radv_private.h radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered 2023-12-12 21:16:39 +00:00
radv_query.c radv: Implement vkCmdWriteTimestamp2 on transfer queues. 2023-12-09 01:49:13 +00:00
radv_queue.c radv: Add workaround to allow sparse binding on gfx queues. 2023-12-07 11:40:38 +00:00
radv_radeon_winsys.h radv/amdgpu: Separate the concept of residency from use_global_list. 2023-12-13 12:03:20 +00:00
radv_rmv.c radv/rmv: Recognize LPDDR memory 2023-10-23 18:08:02 +00:00
radv_rra.c radv/rra: Recognize LPDDR memory 2023-10-23 18:08:02 +00:00
radv_rt_common.c radv/rt: Reject hits within 10ULP of previous hits in emulated RT 2023-10-16 23:10:20 +00:00
radv_rt_common.h radv/ray_queries: Skip cull_mask handling if it is FF 2023-09-20 13:00:03 +00:00
radv_rt_shader.c radv/rt: Skip null checks for small case counts 2023-11-28 22:58:35 +00:00
radv_sampler.c radv: add radv_disable_trunc_coord option 2023-11-17 15:15:27 +00:00
radv_sdma.c radv: Implement vkCmdFillBuffer on transfer queues. 2023-12-09 01:49:13 +00:00
radv_shader.c radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered 2023-12-12 21:16:39 +00:00
radv_shader.h radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for Crysis 2/3 Remastered 2023-12-12 21:16:39 +00:00
radv_shader_args.c radv,aco: declare PS epilog VGPR arguments for depth/stencil/samplemask 2023-12-06 11:49:31 +00:00
radv_shader_args.h radv,aco: declare PS epilog VGPR arguments for depth/stencil/samplemask 2023-12-06 11:49:31 +00:00
radv_shader_info.c radv: determine if MRTZ needs to be exported via PS epilogs 2023-12-06 11:49:31 +00:00
radv_spm.c radv: add SPM support for GFX11 2023-09-25 09:05:58 +02:00
radv_sqtt.c radv: promote EXT_calibrated_timestamps to KHR 2023-12-11 08:26:20 +01:00
radv_video.c radv: initialize video decoder for GFX11.5 2023-10-24 08:20:47 +02:00
radv_wsi.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
si_cmd_buffer.c radv: Enable compute dispatch tunneling 2023-12-04 12:32:47 +00:00
vk_format.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00