wlroots/backend/drm
Simon Ser 9e98f497af backend/drm: use local DRM FD for wlr_rend
The new wlr_renderer_autocreate API is great for compositors, however
it causes some issues with DRM multi-GPU support.

A DRM child backend wants the compositor to use the parent GPU, so it
exposes the parent's DRM FD in get_drm_fd. However, in order to be able
to perform multi-GPU buffer copies, the child DRM backend still needs to
create a local renderer.

Use the new private wlr_renderer_autocreate_with_drm_fd function to
avoid creating a renderer for the parent GPU.

Fixes: e128e6c08d ("render: drop egl parameters from wlr_renderer_autocreate")
2021-01-16 22:52:26 +01:00
..
atomic.c backend/drm: stop using surface size for BO 2021-01-10 11:24:44 +01:00
backend.c backend/drm: implement get_drm_fd 2021-01-16 08:57:42 +01:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend: remove unnecessary GLES2 includes 2021-01-14 12:36:49 +01:00
legacy.c backend/drm: stop using surface size for BO 2021-01-10 11:24:44 +01:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: "scaling mode" is a connector property 2020-11-30 11:57:08 +01:00
renderer.c backend/drm: use local DRM FD for wlr_rend 2021-01-16 22:52:26 +01:00
util.c drm: add fallback drmModeAddFB for drivers which do not support drmModeAddFB2 2020-12-28 14:15:04 +01:00