diff options
author | Mario Kleiner <mario.kleiner@tuebingen.mpg.de> | 2010-10-05 19:57:37 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-06 11:46:28 +1000 |
commit | 75fa0b08e50cb72715b58321e8259c47adfe4c6f (patch) | |
tree | e6453e0bb36903e1574bcdd331539bf8b3c2092c /drivers/char/cd1865.h | |
parent | 6383cf7d7839bf52aa4efa20cc921773126797f4 (diff) | |
download | op-kernel-dev-75fa0b08e50cb72715b58321e8259c47adfe4c6f.zip op-kernel-dev-75fa0b08e50cb72715b58321e8259c47adfe4c6f.tar.gz |
drm/radeon: Modify radeon_pm_in_vbl to use radeon_get_crtc_scanoutpos()
radeon_pm_in_vbl() didn't report in vblank status accurately. Make
it a wrapper around radeon_get_crtc_scanoutpos() which corrects for
biases, so it reports accurately.
radeon_pm_in_vbl() will only report in_vbl if all active crtc's
are currently inside vblank.
agd5f: use rdev->num_crtc rather than hardcoding the crtc count
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/cd1865.h')
0 files changed, 0 insertions, 0 deletions