radeon: Try harder to ensure we reclock in vblank
authorMatthew Garrett <mjg@redhat.com>
Wed, 28 Apr 2010 16:13:06 +0000 (12:13 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:29 +0000 (18:21 +1000)
commitf81f202402640c27b38e1452dcb4d3e447043f48
tree7f081e491e256d792c7b9c5e9df817894227fe05
parent612e06ce9c78840c3a1a207dfbe489a059d87c28
radeon: Try harder to ensure we reclock in vblank

The vblank interrupt on r600 doesn't seem to be especially reliable, so
perform some sanity checks before the actual reclock.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r500_reg.h
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c