mesa/src/intel/vulkan
Jason Ekstrand 5dfd83d7a1 anv: Always enable the data cache
Because we set the needs_data_cache bit from the NIR during compilation,
any time a shader was pulled out of the pipeline cache, we wouldn't set
the bit and the data cache was disabled.  Fortunately, on Gen8+, this
bit is ignored because we always use the ALL section in the L3$ config
instead of separate DC and RO sections.  On Gen7, however, this meant
that we were basically never running with the data cache enabled and our
compute performance was suffering massively because of it.  This commit
improves Geekbench 5 scores on my Haswell GT3 by roughly 330% (no,
that's not a typo).

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3912>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3912>
2020-02-25 20:12:10 +00:00
..
tests anv/block_pool: Ensure allocations have contiguous maps 2020-01-29 09:43:42 -06:00
anv_allocator.c anv/block_pool: Ensure allocations have contiguous maps 2020-01-29 09:43:42 -06:00
anv_android.c anv/android: make format_supported_with_usage static 2020-01-28 14:46:38 +02:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c anv: Re-use one old BT block in reset_batch_bo_chain 2020-01-29 09:43:42 -06:00
anv_blorp.c anv/blorp: Use the correct size for vkCmdCopyBufferToImage 2020-02-02 11:41:09 +00:00
anv_cmd_buffer.c anv: fix missing gen12 handling 2019-12-10 16:06:54 +00:00
anv_descriptor_set.c anv: Rename a variable 2020-01-29 09:43:42 -06:00
anv_device.c anv: Rework CCS memory handling on TGL-LP 2020-01-25 02:18:33 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: Move the physical device dispatch table to anv_instance 2020-01-20 22:08:52 +00:00
anv_extensions.py anv: Advertise VK_KHR_shader_non_semantic_info 2020-02-18 09:57:15 -06:00
anv_extensions_gen.py anv: manually add KHR_display to the list of platforms 2019-07-07 15:34:09 +03:00
anv_formats.c anv: Reject modifiers on depth/stencil formats 2020-02-13 15:40:18 +00:00
anv_gem.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
anv_gem_stubs.c anv: gem-stubs: return a valid fd got anv_gem_userptr() 2019-09-25 22:02:51 +03:00
anv_genX.h anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c anv: Drop anv_image.c:get_surface() 2020-02-19 19:41:05 +00:00
anv_intel.c anv: Take an anv_device in vk_errorf 2020-01-20 22:08:52 +00:00
anv_nir.h anv: drop unused parameter from apply layout pass 2019-12-16 14:35:25 +02:00
anv_nir_add_base_work_group_id.c anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
anv_nir_apply_pipeline_layout.c anv/apply_pipeline_layout: Initialize the nir_builder before use 2020-01-23 19:35:39 -08:00
anv_nir_compute_push_layout.c anv: ensure prog params are initialized with 0s 2020-01-22 16:47:55 +02:00
anv_nir_lower_multiview.c nir/builder: Add a build_deref_array_imm helper 2019-03-07 21:20:30 +00:00
anv_nir_lower_ycbcr_textures.c anv: constify pipeline layout in nir passes 2019-12-16 14:35:22 +02:00
anv_pass.c anv: Enable Vulkan 1.2 support 2020-01-15 08:34:57 -06:00
anv_perf.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_pipeline.c anv: Always enable the data cache 2020-02-25 20:12:10 +00:00
anv_pipeline_cache.c anv: Drop separate chipset_id fields 2020-01-20 22:08:52 +00:00
anv_private.h anv: Always enable the data cache 2020-02-25 20:12:10 +00:00
anv_queue.c anv: No-op submit and wait calls when no_hw is set 2020-02-06 10:48:33 +00:00
anv_util.c anv: Take a device in anv_perf_warn 2020-01-20 22:08:52 +00:00
anv_wsi.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_wsi_display.c anv: Stop allocating WSI event fences off the instance 2020-01-20 22:08:52 +00:00
anv_wsi_wayland.c anv: drop unused includes 2018-10-24 18:15:05 +01:00
anv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
gen7_cmd_buffer.c anv: Implement VK_EXT_line_rasterization 2019-08-06 02:05:28 +00:00
gen8_cmd_buffer.c anv: set depth stall enabled when depth flush enabled on gen12 2020-01-16 14:05:54 +02:00
genX_blorp_exec.c intel/blorp: Always emit URB config on Gen7+ 2020-01-30 18:46:20 -06:00
genX_cmd_buffer.c anv: Add pipe_state_for_stage() helper 2020-02-21 13:09:44 -08:00
genX_gpu_memcpy.c anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
genX_pipeline.c anv: Always enable the data cache 2020-02-25 20:12:10 +00:00
genX_query.c anv: implement gen9 post sync pipe control workaround 2020-02-05 00:25:48 +00:00
genX_state.c anv: Make AUX table invalidate a PIPE_* bit 2020-01-25 02:18:33 +00:00
meson.build anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00
vk_format_info.h anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00