drm/i915/tv: Poll for DAC state change
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 4 Sep 2010 23:44:20 +0000 (00:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:13:36 +0000 (10:13 +0100)
commit974b93315b2213b74a42a87e8a9d4fc8c0dbe90c
treea26463456326d8c4c76d54a2add6035ddfb8c176
parentb8ed2a4f12870bf2ea9c07ff83ccd9d8b6abc2c6
drm/i915/tv: Poll for DAC state change

Instead of sleeping for an arbitrary length of time (the documentation
fails to specify how long to wait for) wait until the load detection has
changed state (or at most the 20ms as before).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_tv.c