drm/i915: fix vblank wait test condition
authorJesse Barnes <[email protected]>
Tue, 24 Aug 2010 18:31:16 +0000 (11:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 24 Aug 2010 18:41:08 +0000 (11:41 -0700)
commit9559fcdbff4f93d29af04478bbc48294519424f5
tree708465ed6fdbe18d88fff781bc447de98ec85780
parentf4e385ccfc10f44364101b126d1ac52b4c806f1d
drm/i915: fix vblank wait test condition

When converting this to the new wait_for macro I inverted the wait
condition, which causes all sorts of problems.  So correct it to fix
several failures caused by the bad wait (flickering, bad output
detection, tearing, etc.).

Reviewed-by: Chris Wilson <[email protected]>
Tested-by: Sitsofe Wheeler <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/gpu/drm/i915/intel_display.c