]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vblank: Enable precise vblank timestamps for interlaced and doublescan modes.
authorMario Kleiner <mario.kleiner@tuebingen.mpg.de>
Mon, 21 Feb 2011 04:42:02 +0000 (05:42 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Feb 2011 00:08:49 +0000 (10:08 +1000)
commitc6ca3e986e377d1d2ec9040dcbe0ba6373aa1bf9
tree060d33b9eef457ad6f794804052a443c6f91347a
parent41d9482ccbceb32b0632172317a8ab27fc9eb6c5
drm/vblank: Enable precise vblank timestamps for interlaced and doublescan modes.

Testing showed the current code can already handle doublescan
video modes just fine. A trivial tweak makes it work for interlaced
scanout as well.

Tested and shown to be precise on Radeon rv530, r600 and
Intel 945-GME.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c