]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix vblank wait test condition
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Aug 2010 18:31:16 +0000 (11:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Aug 2010 18:41:08 +0000 (11:41 -0700)
commitad27f180528c38f825238e166076167e12d873fd
tree708465ed6fdbe18d88fff781bc447de98ec85780
parent6f41eba996991764d3927d42fef1ffd9fabeca10
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 <chris@chris-wilson.co.uk>
Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/intel_display.c