mesa/src
Yogesh Mohanmarimuthu 0e856b95c5 loader: allocate VRAM in display GPU in case of prime
Allocates VRAM in display GPU in case of prime. Then the dma_buf is imported
into prime GPU.

v2: add comments to make code more readable (Pierre-Eric)
    removed if check limiting p2p only for matching driver name
v3: keep old path for non mesa driver (Michel Dänzer)
v4: destroy linear_buffer_display_gpu after import (Michel Dänzer)
    fall back if linear_buffer_display_gpu alloc fail (Michel Dänzer)

Signed-off-by: Yogesh Mohanmarimuthu <yogesh.mohanmarimuthu@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10595>
2021-06-03 09:12:32 +00:00
..
amd radv: use vk_default_allocator 2021-06-03 08:13:26 +00:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
asahi asahi: Add mipmapping state to the XML 2021-06-01 01:31:02 +00:00
broadcom v3dv: use vk_default_allocator 2021-06-03 08:13:26 +00:00
compiler compiler/spirv: expand_to_vec4 -> nir_pad_vec4 2021-05-31 18:45:24 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl util: Add a helper macro for defining initial-exec variables. 2021-06-02 03:10:49 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno turnip/kgsl: Fix to build on android. 2021-06-03 08:55:06 +00:00
gallium radeonsi: fix encryption check for buffers 2021-06-03 08:33:52 +00:00
gbm gbm: list to stderr all the missing extension 2021-05-24 16:17:47 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl
imgui
intel anv: use vk_default_allocator 2021-06-03 08:13:27 +00:00
loader loader: allocate VRAM in display GPU in case of prime 2021-06-03 09:12:32 +00:00
mapi util: Add a helper macro for defining initial-exec variables. 2021-06-02 03:10:49 +00:00
mesa intel/nir,i965: Move HW generation check for UBO pushing to i965 2021-06-03 05:12:33 +00:00
microsoft microsoft/compiler: Maintain sorting of resource type in the context 2021-04-29 23:55:02 +00:00
nouveau
panfrost panfrost: Elucidate thread group split field 2021-06-01 19:10:28 +00:00
tool pps: Intel pps driver 2021-05-18 14:28:48 +00:00
util radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions 2021-06-03 06:32:35 +00:00
virtio venus: use vk_default_allocator 2021-06-03 08:13:27 +00:00
vulkan vulkan/util: add vk_default_allocator 2021-06-03 08:13:26 +00:00
meson.build freedreno: Add freedreno pps driver 2021-05-10 15:34:07 +00:00