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)
commit9be6f8a978bdcbab46474a125aa4212516b71fe7
tree060d33b9eef457ad6f794804052a443c6f91347a
parentbc21512835a72bc1eab7abd7d8a1bff0435591d7
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