mesa/src/broadcom/vulkan
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
..
.dir-locals.el
.editorconfig
meson.build broadcom: add performance counters for V3D 7.x 2023-10-13 22:37:44 +00:00
v3dv_android.c v3dv/android: Add AHardwareBuffer support 2023-09-13 07:27:21 +00:00
v3dv_bo.c v3dv: replace boolean and uint with bool and size_t 2023-06-24 12:21:09 +00:00
v3dv_bo.h v3dv: ignore imported BOs when tracking BO memory usage 2022-11-11 13:25:28 +00:00
v3dv_cl.c broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
v3dv_cl.h broadcom: replace redefined ALIGN() macro with common util functions 2023-06-29 21:12:07 +00:00
v3dv_cmd_buffer.c v3dv: implement VK_EXT_multi_draw 2023-11-14 06:20:21 +00:00
v3dv_debug.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_debug.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_descriptor_set.c vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00
v3dv_device.c v3dv: Rework to remove drm authentication for wsi 2023-11-19 17:00:49 +00:00
v3dv_event.c nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
v3dv_formats.c v3dv: only handle Android Hardware Buffer on Android 2023-09-19 09:37:50 +00:00
v3dv_image.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dv_limits.h v3d,v3dv: support up to 8 render targets in v7.1+ 2023-10-13 22:37:43 +00:00
v3dv_meta_clear.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dv_meta_common.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_meta_copy.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dv_pass.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dv_pipeline.c treewide: Merge num_mesh_vertices_per_primitive and u_vertices_per_prim into mesa_vertices_per_prim 2023-10-26 09:35:04 +00:00
v3dv_pipeline_cache.c v3dv: replace boolean and uint with bool and size_t 2023-06-24 12:21:09 +00:00
v3dv_private.h v3dv: Rework to remove drm authentication for wsi 2023-11-19 17:00:49 +00:00
v3dv_query.c broadcom: add performance counters for V3D 7.x 2023-10-13 22:37:44 +00:00
v3dv_queue.c v3d,v3dv: fix compute for V3D 7.1.6+ 2023-10-13 22:37:44 +00:00
v3dv_uniforms.c v3dv: implement VK_EXT_multi_draw 2023-11-14 06:20:21 +00:00
v3dv_wsi.c v3dv: Rework to remove drm authentication for wsi 2023-11-19 17:00:49 +00:00
v3dvx_cmd_buffer.c v3d,v3dv: fix depth bias for v3d 7.x 2023-10-13 22:37:44 +00:00
v3dvx_descriptor_set.c v3dv: add support for multi-planar formats, enable YCbCr 2023-01-16 14:10:21 +00:00
v3dvx_device.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dvx_formats.c broadcom: Add support for VK_FORMAT_A2R10G10B10_UNORM_PACK32 2023-05-23 23:30:51 +00:00
v3dvx_image.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dvx_meta_common.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3dvx_pipeline.c v3dv: expose depthClamp in V3D 7.x 2023-10-13 22:37:44 +00:00
v3dvx_private.h broadcom: add performance counters for V3D 7.x 2023-10-13 22:37:44 +00:00
v3dvx_query.c broadcom: add performance counters for V3D 7.x 2023-10-13 22:37:44 +00:00
v3dvx_queue.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00