mesa/src/amd/vulkan
Samuel Pitoiset 30846f1596 radv: remove the radv_report_apu_as_dgpu workaround for Red Dead Redemption 2
This workaround looks actually broken. We added it in the past
because otherwise the game would just report 3GiB of video memory
(ie. size of GTT on SD). Though, with this workaround enabled, the
game explodes in memory easily.

One theory is that because we fake integrated GPUs as discrete GPUS,
and because we report 6GiB of VRAM (ie. driver redistributes memory
for small carveout), the game thinks there is 6GiB of VRAM only and
then keep allocating stuff.

People reported that the memory explosion is gone without this
workaround applied and I confirmed this myself.

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/17421>
2022-07-11 06:04:03 +00:00
..
layers radv: do not emit SQTT user data packets on the SDMA queue 2022-06-29 06:41:31 +00:00
radix_sort radv: fixes msvc compiling error 2022-05-16 18:57:06 +00:00
winsys radv/amdgpu: do not add "global" BO to the virtual BO list 2022-06-20 06:43:53 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
00-radv-defaults.conf radv: remove the radv_report_apu_as_dgpu workaround for Red Dead Redemption 2 2022-07-11 06:04:03 +00:00
meson.build radv: Lower ABI in NIR for tess/ESGS/NGG shader arguments. 2022-05-10 17:16:03 +00:00
radv_acceleration_structure.c radv: Add accel struct queries for maintenance1 2022-06-08 20:20:21 +00:00
radv_acceleration_structure.h radv: Add accel struct queries for maintenance1 2022-06-08 20:20:21 +00:00
radv_aco_shader_info.h aco/radv: drop radv_nir_compiler_options from aco. 2022-05-17 06:15:25 +00:00
radv_android.c radv: Use vk_buffer 2022-05-30 17:43:58 +00:00
radv_check_va.py radv: add a Python script to check if a VA was ever valid 2020-12-30 08:40:21 +01:00
radv_cmd_buffer.c radv: use LOAD_CONTEXT_REG to load the opaque buffer size on GFX10+ 2022-07-04 08:42:53 +02:00
radv_constants.h radv: Add helper BO for perf counters. 2022-07-09 12:29:05 +00:00
radv_cs.h radv: Add performance counter reg write. 2022-07-09 12:29:05 +00:00
radv_debug.c radv: dump UMR waves before UMR rings 2022-06-27 08:36:49 +00:00
radv_debug.h radv: Enable ray queries by default 2022-05-24 08:32:43 +00:00
radv_descriptor_set.c radv: Don't check if we need to copy immutable samplers for non push templates. 2022-06-24 06:32:43 +00:00
radv_descriptor_set.h radv: add support for independent descriptor set layouts 2022-04-15 06:08:34 +00:00
radv_device.c radv: remove the radv_report_apu_as_dgpu workaround for Red Dead Redemption 2 2022-07-11 06:04:03 +00:00
radv_formats.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_image.c radv: remove old workaround for HTILE layers with F1 2021 2022-07-04 11:51:36 +00:00
radv_llvm_helper.cpp radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_llvm_helper.h radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_meta.c radv: implement VK_EXT_primitives_generated_query 2022-06-09 08:02:39 +00:00
radv_meta.h radv: implement VK_EXT_primitives_generated_query 2022-06-09 08:02:39 +00:00
radv_meta_blit.c radv: Use vk_image_view as the base for radv_image_view 2022-05-17 18:14:55 +00:00
radv_meta_blit2d.c radv: Use vk_image_view as the base for radv_image_view 2022-05-17 18:14:55 +00:00
radv_meta_buffer.c radv: Use vk_buffer 2022-05-30 17:43:58 +00:00
radv_meta_bufimage.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_clear.c radv: Disable predication for supass clear and image clears. 2022-05-25 12:59:37 +00:00
radv_meta_copy.c radv: Use vk_image_buffer_copy_layout 2022-06-07 17:57:42 +00:00
radv_meta_copy_vrs_htile.c radv: Use vk_buffer 2022-05-30 17:43:58 +00:00
radv_meta_dcc_retile.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_decompress.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_etc_decode.c radv: Use nir_test_mask instead of i2b(iand) 2022-06-30 18:00:32 +00:00
radv_meta_fast_clear.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_fmask_copy.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_fmask_expand.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_meta_resolve.c radv: Use the common image offset/extent sanitize helpers 2022-06-07 17:57:41 +00:00
radv_meta_resolve_cs.c radv: Use the common image offset/extent sanitize helpers 2022-06-07 17:57:41 +00:00
radv_meta_resolve_fs.c radv: Use the common image offset/extent sanitize helpers 2022-06-07 17:57:41 +00:00
radv_nir_apply_pipeline_layout.c radv: update buffer descriptor registers on GFX11 2022-05-17 10:08:17 +00:00
radv_nir_lower_abi.c radv: Use nir_test_mask instead of i2b(iand) 2022-06-30 18:00:32 +00:00
radv_nir_lower_ray_queries.c radv: Use nir_test_mask instead of i2b(iand) 2022-06-30 18:00:32 +00:00
radv_nir_lower_ycbcr_textures.c radv: Don't hash ycbcr sampler base object. 2022-03-18 17:56:15 +00:00
radv_nir_to_llvm.c radv: no need to do gs_alloc_req for newer chips in ngg vs/tes 2022-06-27 02:12:13 +00:00
radv_pass.c radv: Fix redundant subpass barriers due to erroneous comparison 2022-05-27 09:43:04 +00:00
radv_perfcounter.c radv: Implement listing performance counters. 2022-07-09 12:29:06 +00:00
radv_pipeline.c radv: Implement VK_EXT_shader_module_identifier. 2022-07-06 16:27:21 +00:00
radv_pipeline_cache.c radv: Implement VK_EXT_shader_module_identifier. 2022-07-06 16:27:21 +00:00
radv_pipeline_rt.c radv: Implement VK_EXT_shader_module_identifier. 2022-07-06 16:27:21 +00:00
radv_private.h radv: remove the radv_report_apu_as_dgpu workaround for Red Dead Redemption 2 2022-07-11 06:04:03 +00:00
radv_query.c radv: Implement support for querying performance counters. 2022-07-09 12:29:06 +00:00
radv_radeon_winsys.h radv/amdgpu: Group queue submit info into a structure. 2022-05-10 18:20:24 +00:00
radv_rt_common.c radv: Use nir_test_mask instead of i2b(iand) 2022-06-30 18:00:32 +00:00
radv_rt_common.h radv: Replace magic constants with enum values 2022-04-03 12:43:00 +00:00
radv_sdma_copy_image.c radv: Use vk_image as the base for radv_image 2022-05-17 18:14:55 +00:00
radv_shader.c radv: fix dumping VS prologs assembly 2022-07-08 10:58:33 +00:00
radv_shader.h radv,aco: rename radv_prolog_binary/radv_shader_prolog to shader_part 2022-06-21 08:04:50 +00:00
radv_shader_args.c radv: declare the NGG query argument for primitives generated query 2022-06-09 08:02:39 +00:00
radv_shader_args.h radv: rename ngg_gs_state to ngg_query_state 2022-06-09 08:02:39 +00:00
radv_shader_info.c radv: Add CULL_PRIMITIVE to special output mask. 2022-07-01 18:09:07 +00:00
radv_spm.c radv: move ac_perfcounters to physical_device. 2022-07-09 12:29:05 +00:00
radv_sqtt.c radv: Implement support for querying performance counters. 2022-07-09 12:29:06 +00:00
radv_wsi.c radv: Drop create_sync_for_memory 2022-06-10 01:33:12 +00:00
si_cmd_buffer.c radv: do not emit more non-existent registers on GFX11 2022-05-26 07:43:38 +00:00
vk_format.h vulkan,radv: Move vk_format_get_plane_format to common code 2022-06-07 17:57:42 +00:00
vulkan.sym radv: Add Android module info to linker script. 2021-01-12 20:17:52 +00:00