mesa/src/intel/vulkan
Jason Ekstrand 0c37cbf807 anv/allocator: Compare to start_offset in state_pool_free_no_vg
In d11e4738a8, we started using a start_offset to allow us to
allocate pools where the base address isn't at the start of the pool.
This is useful for binding table pools which want to be relative to
surface state base address (more or less), among other things.  However,
we had a bug where, if you have a negative offset, everything returned
to the pool would end up being returned to the "back" of the pool.  This
isn't what we want for binding tables in the softpin world.  This was
causing us to never actually re-use any binding table blocks.  How this
passed CTS, I have no idea.

Closes: #3100
Fixes: d11e4738a8 "anv/allocator: Add a start_offset to anv_state_pool"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5395>
2020-06-09 22:52:26 +00:00
..
tests anv/tests: Silence unused parameter warnings in main 2020-05-14 16:47:08 +00:00
anv_allocator.c anv/allocator: Compare to start_offset in state_pool_free_no_vg 2020-06-09 22:52:26 +00:00
anv_android.c anv: use the correct format on Android 2020-05-13 23:20:50 +00: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: add identifier BO 2020-05-20 15:58:22 +00:00
anv_blorp.c anv/blorp: Do less hard-coding of aux usages 2020-04-24 16:17:44 +00:00
anv_cmd_buffer.c anv: Use new helper functions to pick SIMD variant for CS 2020-05-27 18:16:31 -07:00
anv_descriptor_set.c anv: Fix descriptor set clean-up on BO allocation failure 2020-05-14 16:14:34 +00:00
anv_device.c anv: disable VK_EXT_calibrated_timestamps when the timestamp register is unreadable 2020-05-20 21:49:10 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py Switch from cElementTree to ElementTree. 2020-06-05 23:42:54 -07:00
anv_extensions.py spirv,radv,anv: implement no-op VK_GOOGLE_user_type 2020-05-28 17:30:24 +02:00
anv_extensions_gen.py anv: use the common code for generating extensions and dispatch tables 2020-05-13 08:45:28 +02:00
anv_formats.c anv: Disable B5G6R5_UNORM_PACK16 2020-05-13 23:20:50 +00:00
anv_gem.c anv: pass the fd directly to anv_gem_reg_read() 2020-05-20 21:49:10 +00:00
anv_gem_stubs.c anv: pass the fd directly to anv_gem_reg_read() 2020-05-20 21:49:10 +00: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: Call vk_object_base_finish for image views 2020-05-14 16:14:34 +00:00
anv_intel.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_nir.h anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +00: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: Set alignments on descriptor and constant loads 2020-03-30 15:46:19 +00:00
anv_nir_compute_push_layout.c anv: Emit pushed UBO bounds checking code in the back-end compiler 2020-04-17 14:48:06 +00:00
anv_nir_lower_multiview.c anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +00:00
anv_nir_lower_ycbcr_textures.c anv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
anv_pass.c anv: call base finish only if pass given in DestroyRenderPass 2020-05-08 08:36:45 +03:00
anv_perf.c intel/perf: repurpose INTEL_DEBUG=no-oaconfig 2020-05-20 14:02:27 +03:00
anv_pipeline.c nir: add callback to nir_remove_dead_variables() 2020-06-03 02:22:23 +00:00
anv_pipeline_cache.c vulkan,anv: Add a base object struct type 2020-05-04 14:06:27 +00:00
anv_private.h anv: Use new helper functions to pick SIMD variant for CS 2020-05-27 18:16:31 -07:00
anv_queue.c anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
anv_util.c anv: Take a device in anv_perf_warn 2020-01-20 22:08:52 +00:00
anv_wsi.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_wsi_display.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +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: Split graphics and compute bits from anv_pipeline 2020-03-12 13:18:54 -07:00
gen8_cmd_buffer.c anv: Split graphics and compute bits from anv_pipeline 2020-03-12 13:18:54 -07:00
genX_blorp_exec.c anv: store the workaround address 2020-05-20 15:58:22 +00:00
genX_cmd_buffer.c anv: Use new helper functions to pick SIMD variant for CS 2020-05-27 18:16:31 -07:00
genX_gpu_memcpy.c anv:gpu_memcpy: Emit 3DSTATE_VF_INDEXING on Gen8+ 2020-05-18 21:42:05 +00:00
genX_pipeline.c intel: Add helper to calculate GPGPU_WALKER::RightExecutionMask 2020-05-27 18:16:31 -07:00
genX_query.c anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
genX_state.c anv/gen11+: Disable object level preemption 2020-05-20 19:08:47 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +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