drm/i915/dp: Wait for PP_CONTROL to take effect.
authorHette Visser <hettevisser@gmail.com>
Fri, 24 Sep 2010 09:51:30 +0000 (10:51 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 13:22:13 +0000 (14:22 +0100)
commit27d64339a8d8465484286a2da93f5f6c36be5c3d
tree2e91c2660fda807d2732a7fbb275e765a72a64db
parente61cb0d5fd172ab95a4501917526382f25158e83
drm/i915/dp: Wait for PP_CONTROL to take effect.

This patch fixes the black screen bug on Dell e6510, by
adding two delays to give the eDP panel time to turn on before we
continue with the next write.

300ms is rather arbitray and a rather long sleep, we need to find a way
of refining this value.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29278
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_dp.c