mesa/src/intel/vulkan
Jason Ekstrand 6ac469a6c3 anv/allocator: Use VG_NOACCESS_WRITE in anv_bo_pool_free
Previously, we were relying on the fact that VALGRIND_MEMPOOL_FREE came
later on in the function to prevent "link->bo = bo" from causing an invalid
write.  However, in the case where the size requested by the user is very
small (less than sizeof(struct anv_bo)), this isn't sufficient.  Instead,
we should call VALGRIND_MEMPOOL_FREE early and then use VG_NOACCESS_WRITE.
We do, however, have to call VALGRIND_MEMPOOL_FREE after reading bo_in
because it may be stored in the bo itself.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2016-09-13 10:44:03 -07:00
..
tests anv: fold the tests' makefile 2016-05-01 08:38:04 +01:00
.gitignore anv: Give the installed intel_icd.json file an absolute path 2016-08-20 00:50:03 -07:00
anv_allocator.c anv/allocator: Use VG_NOACCESS_WRITE in anv_bo_pool_free 2016-09-13 10:44:03 -07:00
anv_batch_chain.c anv/batch_chain: free pointers for error cases 2016-05-18 15:14:22 -07:00
anv_cmd_buffer.c anv: Rework pipeline caching 2016-08-30 15:08:23 -07:00
anv_descriptor_set.c anv/descriptor_set: memset anv_descriptor_set_layout 2016-08-30 15:08:23 -07:00
anv_device.c intel: Rename brw_get_device_name/info to gen_get_device_name/info 2016-09-03 08:23:07 -07:00
anv_dump.c anv/dump: Fix post-blit memory barrier 2016-07-09 20:58:33 -07:00
anv_entrypoints_gen.py intel: s/brw_device_info/gen_device_info/ 2016-09-03 08:23:06 -07:00
anv_formats.c intel/isl: Add an isl_swizzle structure and use it for isl_view swizzles 2016-09-12 19:42:57 -07:00
anv_gem.c anv: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
anv_gem_stubs.c anv: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
anv_genX.h anv: Move cmd_buffer_config_l3 into anv_cmd_buffer.c 2016-09-03 08:23:07 -07:00
anv_image.c intel/isl: Add an isl_swizzle structure and use it for isl_view swizzles 2016-09-12 19:42:57 -07:00
anv_intel.c
anv_meta.c anv/blit2d: Customize meta blit structs and functions for blit2d API 2016-03-16 10:56:22 -07:00
anv_meta.h Revert "anv/meta: Make meta_emit_blit() public" 2016-03-16 10:56:46 -07:00
anv_meta_blit.c anv/meta: fix unreachable() typo 2016-08-30 13:47:51 -07:00
anv_meta_blit2d.c anv: meta_blit2d: adapt texel fetch pitch for fake w-tiled 2016-08-24 11:29:23 -07:00
anv_meta_clear.c anv/clear: Clear E5B9G9R9 images as R32_UINT 2016-08-23 11:45:25 -07:00
anv_meta_copy.c isl: Kill off isl_format_layout::bs 2016-07-13 11:47:37 -07:00
anv_meta_resolve.c anv: Remove the anv_format member from anv_image 2016-05-17 12:17:22 -07:00
anv_nir.h anv/lower_push_constants: Stop treating scalar specially 2016-04-20 09:14:47 -07:00
anv_nir_apply_dynamic_offsets.c anv/pipeline: Only do buffer bounds checks if robustBufferAccess is enabled 2016-05-19 21:18:59 -07:00
anv_nir_apply_pipeline_layout.c anv/pipeline: Store the (set, binding, index) tripple in the bind map 2016-06-10 09:43:07 -07:00
anv_nir_lower_push_constants.c nir: Switch the arguments to nir_foreach_function 2016-04-28 15:54:48 -07:00
anv_pass.c anv: Add anv_render_pass_attachment::store_op 2016-06-23 16:10:25 -07:00
anv_pipeline.c anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set 2016-09-06 08:27:23 -07:00
anv_pipeline_cache.c anv: Rework pipeline caching 2016-08-30 15:08:23 -07:00
anv_private.h intel/isl: Add an isl_swizzle structure and use it for isl_view swizzles 2016-09-12 19:42:57 -07:00
anv_query.c
anv_util.c anv/util: Fix vector resizing 2016-03-03 08:17:36 -08:00
anv_wsi.c anv: resolve wayland-only build 2016-05-30 10:26:35 +01:00
anv_wsi.h anv/wsi: Make WSI per-physical-device rather than per-instance 2016-05-17 12:17:22 -07:00
anv_wsi_wayland.c anv/wayland: fix assert typo 2016-08-30 13:47:51 -07:00
anv_wsi_x11.c anv/x11: Add support for Xlib platform 2016-08-15 09:47:06 -07:00
dev_icd.json.in
gen7_cmd_buffer.c anv: Move cmd_buffer_config_l3 into anv_cmd_buffer.c 2016-09-03 08:23:07 -07:00
gen7_pipeline.c anv/gen7_pipeline: Set multisample state using shared function 2016-08-09 14:45:25 -07:00
gen8_cmd_buffer.c anv: Move cmd_buffer_config_l3 into anv_cmd_buffer.c 2016-09-03 08:23:07 -07:00
gen8_pipeline.c anv/pipeline: Move emit_ms_state() to genX_pipeline_util.h 2016-08-09 14:45:25 -07:00
genX_cmd_buffer.c anv: Move cmd_buffer_config_l3 into anv_cmd_buffer.c 2016-09-03 08:23:07 -07:00
genX_multisample.h anv: Use macro to avoid code duplication for sample positions 2016-08-12 10:45:02 -07:00
genX_pipeline.c anv: Refactor pipeline l3 config setup 2016-09-03 08:23:07 -07:00
genX_pipeline_util.h anv: Rework pipeline caching 2016-08-30 15:08:23 -07:00
genX_state.c anv: Use macro to avoid code duplication for sample positions 2016-08-12 10:45:02 -07:00
intel_icd.json.in anv: Add a --disable-vulkan-icd-full-driver-path option 2016-08-25 10:32:31 +10:00
Makefile.am anv: Link to libX11-xcb only when unneeded 2016-09-08 09:24:30 -07:00
Makefile.sources anv: Move cmd_buffer_config_l3 into anv_cmd_buffer.c 2016-09-03 08:23:07 -07:00
TODO anv: Stop linking against libmesa.la and libdri_test_stubs.la 2016-05-26 14:13:38 -07:00
vk_format_info.h anv: Add helpers to provide simple VkFormat introspection 2016-05-17 12:17:22 -07:00