mesa/src/broadcom
Erico Nunes 6659b299e6 v3dv: match render and display device for wsi present
Since the last changes for EGL_EXT_device_drm_render_node, the
can_present_on_device callback now may receive the render device.
With that, the v3dv implementation may return that this device cannot
be used for presentation.
In particular, this callback is used for x11 wsi, and when through
XWayland it does now get the render device. On x11 wsi, this makes the
swapchain operate on blit mode. The blit mode introduces additional
unneeded overhead on wsi and runs through a different path which
currently causes rendering issues (in particular also with Zink).

Allowing both devices to match in the callback returns all wsi to
operate on the native mode and fixes the issues above.

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/31490>
2024-10-03 13:42:23 +00:00
..
ci v3dv/ci: move asan fail to skip 2024-10-02 19:56:28 +00:00
cle build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
clif broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
common broadcom: add helpers to identify availability of new unpack modifiers 2024-10-03 09:02:08 +00:00
compiler broadcom/compiler: generate mali opcodes for clamping on Pi5 2024-10-03 09:02:08 +00:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
qpu broadcom: add missing opcodes for fmov on mul alu for V3D 7.x 2024-10-03 09:02:07 +00:00
simulator broadcom: do not include simulator if not available 2024-09-26 06:12:23 +00:00
vulkan v3dv: match render and display device for wsi present 2024-10-03 13:42:23 +00:00
.editorconfig
meson.build broadcom: do not include simulator if not available 2024-09-26 06:12:23 +00:00