summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 8c30769..9c301a3 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6522,6 +6522,12 @@ static Bool RADEONInitCrtcRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save,
int hsync_wid;
int vsync_wid;
+ RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn);
+
+ pRADEONEnt->Controller[0].IsUsed = TRUE;
+ pRADEONEnt->Controller[0].IsActive = TRUE;
+ pRADEONEnt->Controller[0].pCurMode = mode;
+
switch (info->CurrentLayout.pixel_code) {
case 4: format = 1; break;
case 8: format = 2; break;
@@ -6717,6 +6723,10 @@ static Bool RADEONInitCrtc2Registers(ScrnInfoPtr pScrn, RADEONSavePtr save,
int hsync_wid;
int vsync_wid;
+ pRADEONEnt->Controller[1].IsUsed = TRUE;
+ pRADEONEnt->Controller[1].IsActive = TRUE;
+ pRADEONEnt->Controller[1].pCurMode = mode;
+
switch (info->CurrentLayout.pixel_code) {
case 4: format = 1; break;
case 8: format = 2; break;