Skip to content
Commit 7625577a authored by Daniel Stone's avatar Daniel Stone Committed by Pekka Paalanen
Browse files

compositor-drm: Define DPMS property as an enum



The DPMS connector property is an enum property in KMS, which made our
property handling complain at startup as we weren't defining its enums.
Fix our definition so we parse the enum values.

The only user of the property is the legacy path, which can continue
using fixed values as those values are part of the KMS ABI. The atomic
path does not need any changes, since atomic uses routing and CRTC
active to determine the connector's power state, rather than a property.

Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/125


Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 79e95cb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment