mesa/src/intel/common
Lionel Landwerlin 1aeb11cde1 intel: protect against empty invalidate ranges
It's legal for an application to call vkInvalidateMappedMemoryRanges()
/ vkFlushMappedMemoryRanges() with zero sized ranges.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b91971c240 ("anv: use the right helper to invalidate memory")
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6852
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17481>
2022-07-13 01:33:27 +00:00
..
tests intel: fix typos found by codespell 2022-06-27 10:20:55 +00:00
intel_aux_map.c treewide: drop mtypes/macros includes from main 2021-12-08 22:14:45 +00:00
intel_aux_map.h intel: Rename gen_{mapped, clflush, invalidate} prefix to intel_{..} 2021-04-20 20:06:34 +00:00
intel_batch_decoder.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_batch_decoder_stub.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_buffer_alloc.h intel: Rename gen_{mapped, clflush, invalidate} prefix to intel_{..} 2021-04-20 20:06:34 +00:00
intel_clflush.h intel: protect against empty invalidate ranges 2022-07-13 01:33:27 +00:00
intel_decoder.c intel/decoder: Use util_mask_sign_extend() 2022-07-06 11:23:18 +00:00
intel_decoder.h intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_defines.h intel: Rename "GEN_" prefix used in common code to "INTEL_" 2021-03-10 22:23:51 +00:00
intel_disasm.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_disasm.h intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_gem.c intel/gem: Add support for I915_ENGINE_CLASS_COMPUTE 2022-06-15 08:58:20 +00:00
intel_gem.h intel: fix typos found by codespell 2022-06-27 10:20:55 +00:00
intel_guardband.h intel/guardband: Take min/max instead of total size 2022-03-16 13:13:45 -05:00
intel_l3_config.c intel/l3: Make DG1 urb-size exception more generic 2021-12-11 00:09:50 +00:00
intel_l3_config.h intel/common: Add helper for URB allocation in Mesh pipeline 2022-02-02 18:17:57 +00:00
intel_measure.c intel: provide a callback to clean up after intel_measure_gather 2022-06-16 02:58:08 +00:00
intel_measure.h intel: provide a callback to clean up after intel_measure_gather 2022-06-16 02:58:08 +00:00
intel_pixel_hash.h intel/xehp: Switch to coarser cross-slice pixel hashing with table permutation. 2022-01-10 18:28:35 -08:00
intel_sample_positions.c intel: Rename "gen_" prefix used in common code to "intel_" 2021-03-10 22:23:51 +00:00
intel_sample_positions.h intel: Rename GEN_GEN macro to GFX_VER 2021-04-02 18:33:06 +00:00
intel_urb_config.c intel/common: allocate space for at least one task urb 2022-06-27 14:14:41 +00:00
intel_uuid.c intel: add swizzle flag into driver uuid 2022-01-13 03:09:36 +00:00
intel_uuid.h intel: use PCI info to compute device uuid 2022-01-13 03:09:36 +00:00
meson.build intel: Build mi_builder_test whenever build-tests is set 2022-06-07 18:26:02 +00:00
mi_builder.h intel: Rename GFX 12.5 to XE_HP 2021-06-03 15:51:40 -07:00