summaryrefslogtreecommitdiff
path: root/src/smi_501.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-14 19:05:31 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-14 19:05:31 -0300
commitf686d1b4fdd11d3d969ff4db21128d7867c9044d (patch)
tree94552564576f7a7435f03adb5406a7b19c29bb36 /src/smi_501.c
parentfc722212d297a5141245beb7c8ae396606a8f221 (diff)
Extra MSOC tweaks for the RandR1.2 changes.
The "prototype" computer no longer locks, and only "missing feature" from before the patch is that video and Xaa don't work (only with Exa). For the moment, just force crt as not connected, and set the proper registers to make the secondary output clone the panel.
Diffstat (limited to 'src/smi_501.c')
-rw-r--r--src/smi_501.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/smi_501.c b/src/smi_501.c
index 8ce6383..7f2bbc5 100644
--- a/src/smi_501.c
+++ b/src/smi_501.c
@@ -210,7 +210,7 @@ SMI501_HWInit(ScrnInfoPtr pScrn)
/* FIXME: No dual head setup, and in this case, crt may
* just be another panel */
/* crt clones panel */
- mode->crt_display_ctl.f.enable = 1;
+ mode->crt_display_ctl.f.enable = 1;
/* 0: select panel - 1: select crt */
mode->crt_display_ctl.f.select = 0;
@@ -311,6 +311,9 @@ SMI501_WriteMode_lcd(ScrnInfoPtr pScrn, MSOCRegPtr mode)
mode->panel_display_ctl.f.fp = 1;
WRITE_SCR(pSmi, PANEL_DISPLAY_CTL, mode->panel_display_ctl.value);
SMI501_WaitVSync(pSmi, 4);
+
+ /* Turn CRT on */
+ SMI501_DisplayPowerManagementSet(pScrn, DPMSModeOn, 0);
}
void