diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 15:10:59 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 15:10:59 -0400 |
commit | 0a138f4a36ff2b474705bb542b446fe340be324d (patch) | |
tree | 670855da8d381371c700ed8f4cf5329e499b6f2f /src | |
parent | 6350e6e2bdc42aa7220d3101111a3bcc0a9b864a (diff) |
Add DCON detection to LX.
Diffstat (limited to 'src')
-rw-r--r-- | src/amd_lx_driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c index 099e40f..cd5998c 100644 --- a/src/amd_lx_driver.c +++ b/src/amd_lx_driver.c @@ -629,7 +629,9 @@ LXPreInit(ScrnInfoPtr pScrni, int flags) * value of the output bitmask may change */ - if (pGeode->Output & OUTPUT_PANEL) { + if (dcon_init(pScrni)) { + pGeode->Output = OUTPUT_PANEL; + } else if (pGeode->Output & OUTPUT_PANEL) { if (panelgeo != NULL) GeodeGetFPGeometry(panelgeo, &pGeode->PanelX, &pGeode->PanelY); else { |