linux-dmabuf-v1: skip import check on split render/display SoCs

Unfortunately we have no way to get back the proper render node in
that case. This will be fixed with [1]: with that Mesa patch, the
wlr_renderer will return the proper render node and the existing
logic will work fine.

[1]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24825

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3757
This commit is contained in:
Simon Ser 2023-11-20 19:31:29 +01:00
parent 515681503e
commit fe6a432299
2 changed files with 21 additions and 14 deletions

View file

@ -61,7 +61,7 @@ struct wlr_linux_dmabuf_v1 {
struct wlr_drm_format_set default_formats; // for legacy clients
struct wl_list surfaces; // wlr_linux_dmabuf_v1_surface.link
int main_device_fd; // to sanity check FDs sent by clients
int main_device_fd; // to sanity check FDs sent by clients, -1 if unavailable
struct wl_listener display_destroy;
};