summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-21 18:58:40 +1000
committerDave Airlie <airlied@linux.ie>2007-04-21 18:58:40 +1000
commitc81ed9bd7b37c9d02141d10f6c7bad3d0c57032f (patch)
treeb1dfaa515cb6c714486d052773d9ec414020f3be /src
parent406eec71116a58d42288a7f1c809a92d5bda7350 (diff)
radeon: fix build on older server
Diffstat (limited to 'src')
-rw-r--r--src/radeon_modes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c
index 3d147e2d..1a639717 100644
--- a/src/radeon_modes.c
+++ b/src/radeon_modes.c
@@ -186,9 +186,11 @@ static DisplayModePtr RADEONDDCModes(ScrnInfoPtr pScrn, xf86MonPtr ddc)
new->status = MODE_OK;
#ifdef M_T_PREFERRED
if (PREFERRED_TIMING_MODE(ddc->features.msc))
- new->type = M_T_PREFERRED;
+ new->type |= M_T_PREFERRED;
#endif
+#ifdef M_T_DRIVER
new->type |= M_T_DRIVER;
+#endif
switch (d_timings->misc) {
case 0: new->Flags |= V_NHSYNC | V_NVSYNC; break;