summaryrefslogtreecommitdiff
path: root/linux-core/intel_crt.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/intel_crt.c')
-rw-r--r--linux-core/intel_crt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/intel_crt.c b/linux-core/intel_crt.c
index b9e8ee63..c7509d5e 100644
--- a/linux-core/intel_crt.c
+++ b/linux-core/intel_crt.c
@@ -292,5 +292,9 @@ void intel_crt_init(struct drm_device *dev)
drm_encoder_helper_add(&intel_output->enc, &intel_crt_helper_funcs);
drm_connector_helper_add(connector, &intel_crt_connector_helper_funcs);
+ /* create dpms property */
+ drm_mode_create_dpms_property(dev);
+ drm_connector_attach_property(connector, dev->mode_config.dpms_property, 0);
+
drm_sysfs_connector_add(connector);
}