mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
kms/connector: Look up CRTC_ID property
To be used by the atomic backend. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
1959a872b8
commit
d3c630f637
@ -24,7 +24,8 @@
|
||||
|
||||
typedef enum _MetaKmsConnectorProp
|
||||
{
|
||||
META_KMS_CONNECTOR_PROP_DPMS = 0,
|
||||
META_KMS_CONNECTOR_PROP_CRTC_ID = 0,
|
||||
META_KMS_CONNECTOR_PROP_DPMS,
|
||||
META_KMS_CONNECTOR_PROP_UNDERSCAN,
|
||||
META_KMS_CONNECTOR_PROP_UNDERSCAN_HBORDER,
|
||||
META_KMS_CONNECTOR_PROP_UNDERSCAN_VBORDER,
|
||||
|
@ -532,6 +532,11 @@ init_properties (MetaKmsConnector *connector,
|
||||
|
||||
*prop_table = (MetaKmsConnectorPropTable) {
|
||||
.props = {
|
||||
[META_KMS_CONNECTOR_PROP_CRTC_ID] =
|
||||
{
|
||||
.name = "CRTC_ID",
|
||||
.type = DRM_MODE_PROP_OBJECT,
|
||||
},
|
||||
[META_KMS_CONNECTOR_PROP_DPMS] =
|
||||
{
|
||||
.name = "DPMS",
|
||||
|
Loading…
Reference in New Issue
Block a user