wlroots-hyprland/backend/drm
Simon Ser e89cf5f047 backend/drm: use atomic test-only commits for modifier fallback
Instead of trying to perform a real modeset in init_renderer,
perform an atomic test-only commit to find out whether disabling
modifiers is necessary because of bandwidth limitations.

This decouples init_renderer from the actual commit, making it
possible to modeset an output with a user-supplied buffer instead
of a black frame.

We loose the ability to make sure the buffers coming from the
swapchain will work fine when using the legacy interface. This
can break i915 when atomic is disabled and modifiers enabled.
But i915 always has atomic (so the user must explicitly disable it
to run into potential bandwidth limitations) and is the only known
problematic driver.
2021-06-13 10:57:17 +02:00
..
atomic.c backend/drm: remove wlr_drm_crtc_state.mode 2021-04-29 19:51:57 +02:00
backend.c backend/drm: implement get_cursor_formats and get_cursor_size 2021-06-02 11:08:52 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: use atomic test-only commits for modifier fallback 2021-06-13 10:57:17 +02:00
legacy.c backend/drm: remove wlr_drm_crtc_state.mode 2021-04-29 19:51:57 +02: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 render: drop wlr_ prefix from wlr_renderer_bind_buffer 2021-06-09 10:26:09 +02:00
util.c Revert "backend/drm: fail instead of stripping a modifier" 2021-04-27 15:38:10 +02:00