summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-02 19:16:41 +1100
committerDave Airlie <airlied@linux.ie>2006-12-02 19:50:41 +1100
commit13efd1f75fbd29a4d1f69d7d5a5bb2b8d90ad820 (patch)
treef28610767e81e40762544a02cd20f2680f70dcfb /src/radeon_display.c
parent3933b86390eb2f4198d490acd4914fb470c40f47 (diff)
move HasCRTC2 to pRADEONEnt from info
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 9c8a3dbc..10296525 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -1005,7 +1005,7 @@ void RADEONSetupConnectors(ScrnInfoPtr pScrn)
pRADEONEnt->PortInfo[1].DACType = DAC_TVDAC;
pRADEONEnt->PortInfo[0].DACType = DAC_PRIMARY;
}
- } else if (!info->HasCRTC2) {
+ } else if (!pRADEONEnt->HasCRTC2) {
pRADEONEnt->PortInfo[0].DACType = DAC_PRIMARY;
}
@@ -1182,7 +1182,7 @@ static void RADEONQueryConnectedDisplays(ScrnInfoPtr pScrn)
if (pRADEONEnt->PortInfo[0].MonType == MT_UNKNOWN || pRADEONEnt->PortInfo[1].MonType == MT_UNKNOWN) {
- if ((!info->HasCRTC2) && (pRADEONEnt->PortInfo[0].MonType == MT_UNKNOWN)) {
+ if ((!pRADEONEnt->HasCRTC2) && (pRADEONEnt->PortInfo[0].MonType == MT_UNKNOWN)) {
if((pRADEONEnt->PortInfo[0].MonType = RADEONDisplayDDCConnected(pScrn, DDC_DVI,
&pRADEONEnt->PortInfo[0])));
else if((pRADEONEnt->PortInfo[0].MonType = RADEONDisplayDDCConnected(pScrn, DDC_VGA,
@@ -1343,7 +1343,7 @@ Bool RADEONMapControllers(ScrnInfoPtr pScrn)
}
}
- if(info->HasCRTC2) {
+ if(pRADEONEnt->HasCRTC2) {
if(info->IsSecondary) {
pRADEONEnt->Controller[1].binding = 2;
info->DisplayType = pRADEONEnt->Controller[1].pPort->MonType;
@@ -2021,7 +2021,7 @@ void RADEONBlank(ScrnInfoPtr pScrn)
RADEON_CRTC_VSYNC_DIS |
RADEON_CRTC_HSYNC_DIS));
- if (!info->HasCRTC2) return;
+ if (!pRADEONEnt->HasCRTC2) return;
if (pRADEONEnt->Controller[1].binding == 1) {
RADEONBlankSet(pScrn, 1);
@@ -2090,7 +2090,7 @@ void RADEONUnblank(ScrnInfoPtr pScrn)
RADEON_CRTC_VSYNC_DIS |
RADEON_CRTC_HSYNC_DIS));
- if (!info->HasCRTC2) return;
+ if (!pRADEONEnt->HasCRTC2) return;
if (pRADEONEnt->Controller[1].binding == 1) {
RADEONUnblankSet(pScrn, 1);