]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: vblank status not valid while training display port
authorKeith Packard <keithp@keithp.com>
Sun, 3 Oct 2010 07:33:05 +0000 (00:33 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 Oct 2010 09:22:25 +0000 (10:22 +0100)
commitb99a9d9bb62a984bdfcb6c973dfe180bd776abbe
treef4a80a59ecb701ff1c41f5098b14b8de15ee7a90
parent929f49bf225b1b6cd04d0a7b9c0f7377d9131220
drm/i915: vblank status not valid while training display port

While the display port is in training mode, vblank interrupts don't
occur. Because we have to wait for the display port output to turn on
before starting the training sequence, enable the output in 'normal'
mode so that we can tell when a vblank has occurred, then start the
training sequence.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c