Skip to content
Commit 4be81e01 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: make modeset tests explicit

Instead of checking for properties needing a modeset, do atomic tests
with ALLOW_MODESET where it makes sense, and do a second atomic test
afterwards without ALLOW_MODESET to check if the modeset can be skipped.

This should ensure that KWin always does a modeset when it needs to do one,
 and not do a modeset when it's not necessary. Doing this also allows
reducing the complexity of the drm backend a bit.
parent bd8d65a8
Pipeline #209375 passed with stage
in 11 minutes and 40 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment