aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2013-09-05 09:44:45 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-06 04:46:11 -0400
commit828f5c6e1a34d7234752f11401e4307749c9585b (patch)
tree0f662b8c30280283a495849daaa85cdc27b29f61 /drivers/gpu/drm/i915/intel_dp.c
parentecff4f3bafaf4ce814b491f580bdc1221b07a85b (diff)
drm/i915: move backlight enable later in vlv enable sequence
Follow-up to commit 5004945f1d6c0282c0288afa89ad85d7f2bea4d5 Author: Jani Nikula <jani.nikula@intel.com> Date: Tue Jul 30 12:20:32 2013 +0300 drm/i915: move encoder->enable callback later in VLV crtc enable v2: Rebase on the renamed enable hooks, adding clarity (Ville) Reference: http://mid.gmane.org/CAKMK7uFs9EMvMW8BnS24e5UNm1D7JrfVg3SD5SDFtVEamGfOOg@mail.gmail.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index fa11979cb760..377862f6d212 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1717,16 +1717,21 @@ static void intel_enable_dp(struct intel_encoder *encoder)
1717 ironlake_edp_panel_vdd_off(intel_dp, true); 1717 ironlake_edp_panel_vdd_off(intel_dp, true);
1718 intel_dp_complete_link_train(intel_dp); 1718 intel_dp_complete_link_train(intel_dp);
1719 intel_dp_stop_link_train(intel_dp); 1719 intel_dp_stop_link_train(intel_dp);
1720 ironlake_edp_backlight_on(intel_dp);
1721} 1720}
1722 1721
1723static void g4x_enable_dp(struct intel_encoder *encoder) 1722static void g4x_enable_dp(struct intel_encoder *encoder)
1724{ 1723{
1724 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1725
1725 intel_enable_dp(encoder); 1726 intel_enable_dp(encoder);
1727 ironlake_edp_backlight_on(intel_dp);
1726} 1728}
1727 1729
1728static void vlv_enable_dp(struct intel_encoder *encoder) 1730static void vlv_enable_dp(struct intel_encoder *encoder)
1729{ 1731{
1732 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1733
1734 ironlake_edp_backlight_on(intel_dp);
1730} 1735}
1731 1736
1732static void g4x_pre_enable_dp(struct intel_encoder *encoder) 1737static void g4x_pre_enable_dp(struct intel_encoder *encoder)