mesa/src/amd/vulkan
Samuel Pitoiset 5832f2b8a3 radv: track memory heaps usage if overallocation is explicitly disallowed
By default, RADV supports overallocation by the sense that it doesn't
reject an allocation if the target heap is full.

With VK_AMD_overallocation_behaviour, apps can disable overallocation
and the driver should account for all allocations explicitly made by
the application, and reject if the heap is full.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4785>
2020-04-28 21:03:26 +00:00
..
layers radv/sqtt: handle thread trace capture in sqtt_QueuePresentKHR() 2020-03-16 15:42:04 +00:00
winsys radv/winsys: Add function to get domains/flags from fd. 2020-04-28 15:45:00 +02:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
Android.mk android: radv: fix vk_format_table.c generated source build 2019-12-27 09:20:44 +01:00
gfx10_format_table.py radv/gfx10: hardcode some depth+stencil formats in the format table 2019-08-21 08:17:40 +02:00
Makefile.sources radv: initial implementation of the driver internal layer SQTT 2020-03-10 09:57:59 +01:00
meson.build meson: inline inc_common 2020-03-28 21:36:54 +01:00
radv_android.c radv: Fix RGBX Android<->Vulkan format correspondence. 2019-12-11 11:40:13 +01:00
radv_cmd_buffer.c radv: simplify checking for Navi1x chips 2020-04-23 15:54:32 +02:00
radv_constants.h radv: align buffer descriptor sizes to dword 2020-04-24 18:52:54 +00:00
radv_cs.h radv: add radeon_set_context_reg_rmw() helper 2020-04-14 11:31:33 +02:00
radv_debug.c radv: use RADEON_FLAG_ZERO_VRAM when creating the trace BO 2020-02-20 18:47:34 +01:00
radv_debug.h radv: use nir_lower_discard_to_demote to work around game bugs 2020-03-09 12:29:32 +00:00
radv_descriptor_set.c radv: align buffer descriptor sizes to dword 2020-04-24 18:52:54 +00:00
radv_descriptor_set.h radv: Don't include radv_private.h from radv_shader.h 2019-07-30 10:29:11 +02:00
radv_device.c radv: track memory heaps usage if overallocation is explicitly disallowed 2020-04-28 21:03:26 +00:00
radv_entrypoints_gen.py radv/entrypoints: declare a driver internal layer for SQTT 2020-03-10 09:57:49 +01:00
radv_extensions.py radv/aco: enable 8/16-bit storage and int8/int16 on GFX8+ 2020-04-24 20:04:39 +01:00
radv_formats.c radv: Allow non-dedicated linear images and buffer. 2020-02-02 17:47:14 +01:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: enable FMASK for color attachments only 2020-04-28 17:23:05 +02:00
radv_llvm_helper.cpp radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_meta.c radv: Only save the descriptor set if we have one. 2019-07-18 00:49:43 +02:00
radv_meta.h radv: rename decompress/resummarize depth/stencil functions 2020-04-08 07:55:10 +02:00
radv_meta_blit.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_blit2d.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_buffer.c radv: set alignment for load_ssbo/store_ssbo in meta shaders 2019-11-25 13:59:11 +00:00
radv_meta_bufimage.c spirv,nir: add new lod parameter to image_{load,store} intrinsics 2020-01-09 07:58:33 +01:00
radv_meta_clear.c radv: fix random depth range unrestricted failures due to a cache issue 2020-03-18 11:36:24 +00:00
radv_meta_copy.c radv: Add device argument for dcc compression check. 2019-08-07 02:13:07 +02:00
radv_meta_decompress.c radv: cleanup creating the decompress/resummarize pipelines 2020-04-08 07:55:14 +02:00
radv_meta_fast_clear.c radv/sqtt: describe layout transitions with user markers 2020-03-12 17:04:55 +00:00
radv_meta_fmask_expand.c spirv,nir: add new lod parameter to image_{load,store} intrinsics 2020-01-09 07:58:33 +01:00
radv_meta_resolve.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_resolve_cs.c radv: update VK_KHR_depth_stencil_resolve for Vulkan 1.2 2020-01-15 08:42:25 -06:00
radv_meta_resolve_fs.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_nir_lower_ycbcr_textures.c radv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
radv_nir_to_llvm.c ac,radeonsi: fix compilations issues with LLVM 11 2020-04-27 17:13:36 +00:00
radv_pass.c radv: only inject implicit subpass dependencies if necessary 2020-03-17 13:24:36 +01:00
radv_pipeline.c radv: Add inputs read by TES to radv_shader_info. 2020-04-24 17:58:57 +00:00
radv_pipeline_cache.c radv: make use of radv_sc_read() 2019-10-30 04:49:58 +00:00
radv_private.h radv: track memory heaps usage if overallocation is explicitly disallowed 2020-04-28 21:03:26 +00:00
radv_query.c radv: fix geometry shader primitives query with ACO on GFX10 2020-04-17 17:39:16 +02:00
radv_radeon_winsys.h radv/winsys: Add function to get domains/flags from fd. 2020-04-28 15:45:00 +02:00
radv_rgp.c drm-uapi,radv,radeonsi: Add amdgpu_drm.h header. 2020-04-27 12:27:02 +00:00
radv_shader.c radv/aco: enable 8/16-bit storage and int8/int16 on GFX8+ 2020-04-24 20:04:39 +01:00
radv_shader.h radv: Add inputs read by TES to radv_shader_info. 2020-04-24 17:58:57 +00:00
radv_shader_args.c radv/gfx10: implement NGG GS queries 2020-01-29 17:40:48 +01:00
radv_shader_args.h radv/gfx10: implement NGG GS queries 2020-01-29 17:40:48 +01:00
radv_shader_helper.h radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_shader_info.c radv: make sure to export the viewport index if FS needs it 2020-04-23 08:10:25 +00:00
radv_sqtt.c radv/sqtt: add a helper that emits thread trace userdata markers 2020-03-10 09:57:56 +01:00
radv_util.c radv: Add startup debug option. 2018-05-31 11:51:23 +02:00
radv_util.h
radv_wsi.c radv: Add WSI buffers to BO list only if they can be used. 2020-04-27 18:01:24 +00:00
radv_wsi_display.c drm-uapi,radv,radeonsi: Add amdgpu_drm.h header. 2020-04-27 12:27:02 +00:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c radv: Pass logical device to si_emit_graphics 2020-04-25 00:32:20 +00:00
vk_format.h radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_layout.csv radv: Add ycbcr subsampled & multiplane formats to csv. 2019-04-25 19:56:20 +00:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00