diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-04-28 12:13:06 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-18 04:21:29 -0400 |
commit | f81f202402640c27b38e1452dcb4d3e447043f48 (patch) | |
tree | 7f081e491e256d792c7b9c5e9df817894227fe05 /drivers/gpu/drm/radeon/r500_reg.h | |
parent | 612e06ce9c78840c3a1a207dfbe489a059d87c28 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/r500_reg.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r500_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r500_reg.h b/drivers/gpu/drm/radeon/r500_reg.h index f5adf42a9d15..93c9a2bbccf8 100644 --- a/drivers/gpu/drm/radeon/r500_reg.h +++ b/drivers/gpu/drm/radeon/r500_reg.h | |||
@@ -351,6 +351,7 @@ | |||
351 | #define AVIVO_D1CRTC_BLANK_CONTROL 0x6084 | 351 | #define AVIVO_D1CRTC_BLANK_CONTROL 0x6084 |
352 | #define AVIVO_D1CRTC_INTERLACE_CONTROL 0x6088 | 352 | #define AVIVO_D1CRTC_INTERLACE_CONTROL 0x6088 |
353 | #define AVIVO_D1CRTC_INTERLACE_STATUS 0x608c | 353 | #define AVIVO_D1CRTC_INTERLACE_STATUS 0x608c |
354 | #define AVIVO_D1CRTC_STATUS_POSITION 0x60a0 | ||
354 | #define AVIVO_D1CRTC_FRAME_COUNT 0x60a4 | 355 | #define AVIVO_D1CRTC_FRAME_COUNT 0x60a4 |
355 | #define AVIVO_D1CRTC_STEREO_CONTROL 0x60c4 | 356 | #define AVIVO_D1CRTC_STEREO_CONTROL 0x60c4 |
356 | 357 | ||
@@ -489,6 +490,7 @@ | |||
489 | #define AVIVO_D2CRTC_BLANK_CONTROL 0x6884 | 490 | #define AVIVO_D2CRTC_BLANK_CONTROL 0x6884 |
490 | #define AVIVO_D2CRTC_INTERLACE_CONTROL 0x6888 | 491 | #define AVIVO_D2CRTC_INTERLACE_CONTROL 0x6888 |
491 | #define AVIVO_D2CRTC_INTERLACE_STATUS 0x688c | 492 | #define AVIVO_D2CRTC_INTERLACE_STATUS 0x688c |
493 | #define AVIVO_D2CRTC_STATUS_POSITION 0x68a0 | ||
492 | #define AVIVO_D2CRTC_FRAME_COUNT 0x68a4 | 494 | #define AVIVO_D2CRTC_FRAME_COUNT 0x68a4 |
493 | #define AVIVO_D2CRTC_STEREO_CONTROL 0x68c4 | 495 | #define AVIVO_D2CRTC_STEREO_CONTROL 0x68c4 |
494 | 496 | ||