drm/i915: fix VDD override off wait
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 6 Dec 2013 19:32:42 +0000 (17:32 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:52:11 +0000 (23:52 +0100)
commit90791a5c644e2e06cadfe4f37de8ca81483e3a72
tree17de897312df8b85dba10e7bfded71ee9f64b8e0
parentdff392dbd258381a6c3164f38420593f2d291e3b
drm/i915: fix VDD override off wait

If we're disabling the VDD override bit and the panel is enabled, we
don't need to wait for anything. If the panel is disabled, then we
need to actually wait for panel_power_cycle_delay, not
panel_power_down_delay, because the power down delay was already
respected when we disabled the panel.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c