summaryrefslogtreecommitdiff
path: root/src/radeon_modes.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-17 19:44:39 +1100
committerDave Airlie <airlied@linux.ie>2006-12-17 19:44:39 +1100
commit17d39502a8dbea395051007aebffdf23644e9ee1 (patch)
treef7482788b66725571f0b01ec589547735316f2cb /src/radeon_modes.c
parentbf0b364cbd8682f297e2d110ece1f72e7151340d (diff)
use getddcmodes properly
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r--src/radeon_modes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c
index 0b3a63ae..50f0974b 100644
--- a/src/radeon_modes.c
+++ b/src/radeon_modes.c
@@ -110,7 +110,7 @@ int RADEONValidateDDCModes(ScrnInfoPtr pScrn1, char **ppModeName,
int maxVirtY = pScrn->virtualY;
/* Collect all of the DDC modes */
- first = last = ddcModes = xf86DDCGetModes(pScrn, pScrn->monitor->DDC);
+ first = last = ddcModes = xf86DDCGetModes(pScrn->scrnIndex, pScrn->monitor->DDC);
for (p = ddcModes; p; p = p->next) {
@@ -615,7 +615,7 @@ RADEONProbeOutputModes(xf86OutputPtr output)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EDID for output %d\n", i);
xf86PrintEDID(output->MonInfo);
- ddc_modes = RADEONGetDDCModes(pScrn, output->MonInfo);
+ ddc_modes = xf86DDCGetModes(pScrn->scrnIndex, output->MonInfo);
for (mode = ddc_modes; mode != NULL; mode = mode->next) {
if (mode->Flags & V_DBLSCAN) {