diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2013-10-31 10:44:21 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-31 12:28:17 -0400 |
commit | 9f08ef59a6f71249de8b4e8a26c27075b9e99f9c (patch) | |
tree | 20bd7d5d720282ef617d8e11a6aaed402d2ae859 /drivers/gpu/drm/i915/intel_dp.c | |
parent | 1ad577ac6e2c870d6a68f214c9208882eb8d8f00 (diff) |
drm/i915: use the correct register when turning VDD off
That explains why I was seeing 2 consecutive "Turning eDP VDD off"
messages.
Regression introduced by:
commit bf13e81b904a37d94d83dd6c3b53a147719a3ead
Author: Jani Nikula <jani.nikula@intel.com>
Date: Fri Sep 6 07:40:05 2013 +0300
drm/i915: add support for per-pipe power sequencing on vlv
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index b91dc7457b4b..68357777e74f 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -1125,8 +1125,8 @@ static void ironlake_panel_vdd_off_sync(struct intel_dp *intel_dp) | |||
1125 | pp = ironlake_get_pp_control(intel_dp); | 1125 | pp = ironlake_get_pp_control(intel_dp); |
1126 | pp &= ~EDP_FORCE_VDD; | 1126 | pp &= ~EDP_FORCE_VDD; |
1127 | 1127 | ||
1128 | pp_stat_reg = _pp_ctrl_reg(intel_dp); | 1128 | pp_ctrl_reg = _pp_ctrl_reg(intel_dp); |
1129 | pp_ctrl_reg = _pp_stat_reg(intel_dp); | 1129 | pp_stat_reg = _pp_stat_reg(intel_dp); |
1130 | 1130 | ||
1131 | I915_WRITE(pp_ctrl_reg, pp); | 1131 | I915_WRITE(pp_ctrl_reg, pp); |
1132 | POSTING_READ(pp_ctrl_reg); | 1132 | POSTING_READ(pp_ctrl_reg); |