mesa/src
Jason Ekstrand e6b4678fdb anv: Move device memory maps back to anv_device_memory
This effectively partially reverts 13fe43714c ("anv: Add helpers in
anv_allocator for mapping BOs") where we both added helpers and reworked
memory mapping to stash the maps on the BO.  The problem comes with
external memory.  Due to GEM rules, if a memory object is exported and
then imported or imported twice,  we have to deduplicate the anv_bo
struct but, according to Vulkan rules, they are separate VkDeviceMemory
objects.  This means we either need to always map whole objects and
reference-count the map or we need to handle maps separately for
separate VkDeviceMemory objects.  For now, take the later path.

Fixes: 13fe43714c ("anv: Add helpers in anv_allocator for mapping BOs")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5612
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13795>
2021-11-16 15:18:03 +00:00
..
amd radv: Don't crash if VkExternalImageFormatProperties isn't provided. 2021-11-16 10:23:37 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3d,v3dv: move tile size calculation to a common helper 2021-11-15 11:40:39 +00:00
compiler nir: Group per-primitive outputs at the end for driver location assign. 2021-11-16 07:46:55 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Properly clear stale buffers on resize 2021-10-16 19:13:58 +00:00
etnaviv ci/etnaviv: no need to force nir anymore 2021-11-12 08:22:29 +00:00
freedreno freedreno/a4xx: include guesses from a3xx for some of the constid's 2021-11-16 05:08:26 +00:00
gallium move util/indices to core util 2021-11-16 14:12:03 +00:00
gbm gbm: add GBM_FORMAT_GR1616 and RG1616 2021-10-27 02:53:05 +00:00
getopt
glx glx/drirc: add a force_direct_glx_context option 2021-11-04 13:59:00 +01:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel anv: Move device memory maps back to anv_device_memory 2021-11-16 15:18:03 +00:00
loader gallium/dri: let the driver know if the imported image is DRI_PRIME buffer 2021-10-18 16:24:00 +02:00
mapi glthread: add an option to make glCheckFramebufferStatus a no-op 2021-10-27 01:24:03 +00:00
mesa mesa: convert unsupported primtypes during display list compilation 2021-11-16 14:12:03 +00:00
microsoft microsoft/clc: Add a test for arg metadata 2021-11-15 07:47:06 -08:00
nouveau
panfrost pan/mdg: Remove duplicate compiler option 2021-11-12 16:30:02 +00:00
tool pps: add an intel config file 2021-10-28 13:16:56 +03:00
util move util/indices to core util 2021-11-16 14:12:03 +00:00
virtio virgl: obtain supported number of shader sampler views from host 2021-11-08 19:34:30 +00:00
vulkan vulkan/util: Handle depth-only formats in vk_att_ref_stencil_layout 2021-11-11 17:17:16 +00:00
meson.build meson: build freedreno tools when other parts of freedreno not enabled 2021-10-26 00:33:31 +00:00