backends/drm: prune format modifiers when tests fail
When explicit modifiers are used, it can happen that Mesa chooses modifiers that make the display hardware hit bandwidth limits. In that case, atomic tests fail and the outputs don't work, or KWin may even crash. In order to work around that, DrmGpu now removes the used modifier whenever an atomic test fails, and tries to find a working combination of outputs and modifiers.
parent
cd043030
Please register or sign in to comment