Skip to content

backends/drm: check for gbm modifier support

Xaver Hugl requested to merge work/fix-simpledrm into master

Commit 1: It can happen that a gbm implementation does not support modifiers, while the drm driver does. To prevent that from breaking KWin, check whether or not the gbm implementation supports modifiers separately by trying to allocate a buffer with modifiers.

BUG: 453320

Commit 2: use modifiers for virtual outputs, as we can now rely on the gbm implementation supporting it

Merge request reports