diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-05-09 18:31:07 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-05-09 18:31:07 -0700 |
commit | cb83fbdfa22aa408e6692256cd44b78fef53e801 (patch) | |
tree | 209c126fcd04c841f39190ca24288d840016501f /src/g80_sor.c | |
parent | 8db2d4e63508f59299098e092ae85e543cf61d03 (diff) |
Add an option to allow validation of dual-link DVI modes.
These modes don't work at bootup (i.e. power saving) configuration on all GPUs,
so they're still disabled by default. This option allows users to enable them
in case they actually work.
Diffstat (limited to 'src/g80_sor.c')
-rw-r--r-- | src/g80_sor.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/g80_sor.c b/src/g80_sor.c index 02a5f3b..202e838 100644 --- a/src/g80_sor.c +++ b/src/g80_sor.c @@ -69,9 +69,10 @@ G80SorDPMSSet(xf86OutputPtr output, int mode) static int G80TMDSModeValid(xf86OutputPtr output, DisplayModePtr mode) { - // Disable dual-link modes until I can find a way to make them work - // reliably. - if (mode->Clock > 165000) + G80Ptr pNv = G80PTR(output->scrn); + + // Disable dual-link modes unless enabled in the config file. + if (mode->Clock > 165000 && !pNv->AllowDualLink) return MODE_CLOCK_HIGH; return G80OutputModeValid(output, mode); |