diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-25 13:09:48 -0700 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 21:20:26 +0100 |
commit | 3ba5c569c4a99c43bdac9f0c1c65e15a7b3390b9 (patch) | |
tree | c704fd486c3637ec954bb5f3bd71a9fcea05ba54 /drivers | |
parent | 3969c9c927b0bdb1e477a1eda60743143a75e4a5 (diff) |
drm/i915: make sure VDD AUX power has time to settle
When turning on or off the VDD AUX bit, we need to give the panel time
to start or stop or AUX transactions may fail.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 153a5934b2e..bcd81f96fc7 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -825,6 +825,7 @@ static void ironlake_edp_panel_vdd_on(struct drm_device *dev) pp |= EDP_FORCE_VDD; I915_WRITE(PCH_PP_CONTROL, pp); POSTING_READ(PCH_PP_CONTROL); + msleep(300); } static void ironlake_edp_panel_vdd_off(struct drm_device *dev) @@ -836,6 +837,7 @@ static void ironlake_edp_panel_vdd_off(struct drm_device *dev) pp &= ~EDP_FORCE_VDD; I915_WRITE(PCH_PP_CONTROL, pp); POSTING_READ(PCH_PP_CONTROL); + msleep(300); } static void ironlake_edp_backlight_on (struct drm_device *dev) |