summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-07-05 20:37:10 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-07-05 20:37:10 -0400
commit7b3e22e96cfc98621bd20fa76317e6d8f7242165 (patch)
tree4cca29eb502ba13e32c5c732a7fe4d454955601b /src
parent2a35ccfb8ffee9f0ef6f8d4f0eeb80a471543caa (diff)
RADEON: set default values for crtc_offset_cntls
Diffstat (limited to 'src')
-rw-r--r--src/radeon_crtc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 578da56f..de060fb0 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -185,8 +185,9 @@ RADEONInitCrtcBase(xf86CrtcPtr crtc, RADEONSavePtr save,
#ifdef XF86DRI
if (info->allowPageFlip)
save->crtc_offset_cntl = RADEON_CRTC_OFFSET_FLIP_CNTL;
+ else
#endif
-
+ save->crtc_offset_cntl = 0;
if (info->tilingEnabled) {
if (IS_R300_VARIANT)
@@ -415,7 +416,9 @@ RADEONInitCrtc2Base(xf86CrtcPtr crtc, RADEONSavePtr save,
#ifdef XF86DRI
if (info->allowPageFlip)
save->crtc2_offset_cntl = RADEON_CRTC_OFFSET_FLIP_CNTL;
+ else
#endif
+ save->crtc2_offset_cntl = 0;
if (info->tilingEnabled) {
if (IS_R300_VARIANT)