diff options
author | Matthias Hopf <mhopf@suse.de> | 2007-04-18 17:36:15 +0200 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2007-04-18 17:36:15 +0200 |
commit | 16ef77df4ebaf5ea13baa82972aaf98e71ac32ee (patch) | |
tree | 4c2796d9539331f4d537dc344719d7a0277b8466 /src/radeon_modes.c | |
parent | 0abce69f0d826a7ca1a41d963cd4730b6e01c145 (diff) |
Set sync polarity restriction flags even for non-"digital separate" monitors.
According to Lisa Wu, this is correct regarding the VESA EEDID standard.
Bugzilla #10620 (2), original patch by Lisa Wu @ATI
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r-- | src/radeon_modes.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c index 6b8577eb..3d147e2d 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -190,13 +190,11 @@ static DisplayModePtr RADEONDDCModes(ScrnInfoPtr pScrn, xf86MonPtr ddc) #endif new->type |= M_T_DRIVER; - if (d_timings->sync == 3) { - switch (d_timings->misc) { - case 0: new->Flags |= V_NHSYNC | V_NVSYNC; break; - case 1: new->Flags |= V_PHSYNC | V_NVSYNC; break; - case 2: new->Flags |= V_NHSYNC | V_PVSYNC; break; - case 3: new->Flags |= V_PHSYNC | V_PVSYNC; break; - } + switch (d_timings->misc) { + case 0: new->Flags |= V_NHSYNC | V_NVSYNC; break; + case 1: new->Flags |= V_PHSYNC | V_NVSYNC; break; + case 2: new->Flags |= V_NHSYNC | V_PVSYNC; break; + case 3: new->Flags |= V_PHSYNC | V_PVSYNC; break; } count++; |