mesa/src
Erico Nunes 898700ca64 v3dv: Rework to remove drm authentication for wsi
For Wayland wsi allocations, v3dv used the wl_drm protocol, which is now
being phased out in favor of dmabuf feedback.
wl_drm is used to figure out the display device (in v3dv assumed to be
vc4) and then to authenticate with the Wayland compositor in order to
allocate scanout-able buffers (in this case, dumb buffers) directly at
the display device.
Recent commit 88c03ddd34 changed the behavior of the wsi code, and
wl_drm is now passing the render device instead, which broke Wayland
wsi.
It turns out that the authentication code is not really needed and since
we would like to remove wl_drm usage and the master device is assumed to
be vc4 anyway, we can just remove some unneeded device-specific wsi code
and get Vulkan Wayland wsi back to work.

Fixes: 88c03ddd34 ("egl/drm: get compatible render-only device fd for kms-only device")

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26200>
2023-11-19 17:00:49 +00:00
..
amd radv: Use SDMA version instead of gfx_level where possible. 2023-11-18 17:11:18 +01:00
android_stub
asahi asahi: Implement ARB_base_instance 2023-11-07 00:05:55 +00:00
broadcom v3dv: Rework to remove drm authentication for wsi 2023-11-19 17:00:49 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler nir: Add a ldtram_nv intrinsic 2023-11-18 02:46:47 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl: ensure a render node is passed to _eglFindDevice() 2023-11-18 13:19:53 +01:00
etnaviv ci/etnaviv: Update ci expectation 2023-11-07 13:34:54 +00:00
freedreno ci/traces: drop the freedoom-phase2-gl-high.trace 2023-11-15 12:56:01 +00:00
gallium gallium: Do not create pipe-loader version scripts for disabled drivers 2023-11-19 09:34:59 +01:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx mesa/st, dri2, wgl, glx: Modify flush_objects interop func to export a fence_fd 2023-11-04 01:28:42 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination vk/graphics_state, tu: Rewrite renderpass flags handling 2023-11-06 14:33:51 +00:00
imgui
intel intel/xe: Correct DRM_XE_EXEC_QUEUE_SET_PROPERTY's ioctl 2023-11-18 10:17:45 +00:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi mesa: add GL_APPLE_sync support 2023-10-20 17:20:11 +00:00
mesa mesa: restore call to _mesa_set_varying_vp_inputs from set_vertex_processing_mode 2023-11-14 09:28:00 +00:00
microsoft d3d12: GL4.6 2023-11-17 19:19:11 +00:00
nouveau nvk: Implement VK_KHR_fragment_shader_barycentric 2023-11-18 02:46:47 +00:00
panfrost pan/decode: Fix the pan_unpack() call for JUMP instruction unpacking 2023-11-17 09:29:10 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util util: Provide DRM_DEVICE_GET_PCI_REVISION definition 2023-11-18 17:01:24 +00:00
virtio venus: disable unsupported ExtendedDynamicState3Features 2023-11-17 22:00:27 +00:00
vulkan vulkan/video: fix a typo 2023-11-17 00:45:55 +00:00
.clang-format util/rb_tree: Add augmented trees and interval trees 2023-11-02 21:03:46 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00