Skip to content

kms-impl-device: Fail if we can't enable universal planes

We currently don't handle the lack of DRM_CLIENT_CAP_UNIVERSAL_PLANES KMS capability. Fail constructing a device that can't handle this up front, so later made assumptions, such as presence of a primary plane, are actually valid.

If we want to support lack of said capability, the required planes need to be emulated by a dummy MetaKmsPlane object.

Merge request reports