wlroots/backend/drm
Simon Ser e7f68ba081 backend/drm: fix allocator DRM FD on multi-GPU setups
On multi-GPU setups, there is a primary DRM backend and secondary
DRM backends. wlr_backend_get_drm_fd will always return the parent
DRM FD even on secondary backends, so that users always use the
primary device for rendering.

However, for our internal rendering we want to use the secondary
device. Use allocator_autocreate_with_drm_fd to make sure the
allocator will create buffers on the secondary device.

We do something similar to ensure our internal rendering will
happen on the secondary device with renderer_autocreate_with_drm_fd.

Fixes: cc1b66364c ("backend: use wlr_allocator_autocreate")
2021-04-29 15:58:56 +02:00
..
atomic.c backend/drm: downgrade test-only commit failure log level 2021-04-06 20:35:15 +02:00
backend.c backend: introduce backend_get_buffer_caps 2021-04-28 20:55:57 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: carry on when disabling a CRTC fails 2021-04-27 09:11:44 +02: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: add support for the subconnector property 2021-01-17 12:42:25 +01:00
renderer.c backend/drm: fix allocator DRM FD on multi-GPU setups 2021-04-29 15:58:56 +02:00
util.c Revert "backend/drm: fail instead of stripping a modifier" 2021-04-27 15:38:10 +02:00