summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 43b6743..0003824 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -691,6 +691,7 @@ RADEONSetOverlayGamma(ScrnInfoPtr pScrn, CARD32 gamma)
CARD32 ov0_scale_cntl;
/* Set gamma */
+ RADEONWaitForIdleMMIO(pScrn);
ov0_scale_cntl = INREG(RADEON_OV0_SCALE_CNTL) & ~RADEON_SCALER_GAMMA_SEL_MASK;
OUTREG(RADEON_OV0_SCALE_CNTL, ov0_scale_cntl | (gamma << 0x00000005));