aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-06 18:51:21 +0200
committerKenny Levinsen <kl@kl.wtf>2021-06-13 10:57:17 +0200
commite89cf5f047bee4820d8a08c903f3b5664fa92558 (patch)
tree31fde60565a990a0de099e871e7b53ee7a53f4c4 /docs
parent280615490002d1a0ae3f6c3a3cd7056c95e91df6 (diff)
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions