summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-02-17 09:18:38 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-02-18 10:41:51 +0100
commit7bb4afb45879541257d479aba3851135f6a7445c (patch)
tree5dd5cd10a716894c7e50d97213bec471581658c9
parent0eadc62462afcfd54617dd2678e4d2651ed2906a (diff)
downloadblackbird-obmc-linux-7bb4afb45879541257d479aba3851135f6a7445c.tar.gz
blackbird-obmc-linux-7bb4afb45879541257d479aba3851135f6a7445c.zip
drm/i915: Use correct dpms for intel_enable_crt.
With the conversion to atomic only on/off are still supported. The rest is mapped to one of those, and when enable is called DPMS_ON should be true. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1455697119-31416-5-git-send-email-maarten.lankhorst@linux.intel.com
-rw-r--r--drivers/gpu/drm/i915/intel_crt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 84c3efddf7d4..505fc5cf26f8 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -213,9 +213,7 @@ static void pch_post_disable_crt(struct intel_encoder *encoder)
static void intel_enable_crt(struct intel_encoder *encoder)
{
- struct intel_crt *crt = intel_encoder_to_crt(encoder);
-
- intel_crt_set_dpms(encoder, crt->connector->base.dpms);
+ intel_crt_set_dpms(encoder, DRM_MODE_DPMS_ON);
}
static enum drm_mode_status
OpenPOWER on IntegriCloud