summaryrefslogtreecommitdiff
path: root/src/amd_gx_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-01-08 15:23:59 -0500
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-01-08 15:23:59 -0500
commitcb69ce0f54569c68c79173e144c3c90e46e64f8b (patch)
treed4f1653568d44bdfdc71f8f6b7dc7e7b681941d8 /src/amd_gx_driver.c
parentc4f21aaaaf6d101e7c8828e246e06be3ff0591c3 (diff)
Minor DCON fixes.
Wire up the DCON init to GXPreInit, and set the panel geometry appropriately if found.
Diffstat (limited to 'src/amd_gx_driver.c')
-rw-r--r--src/amd_gx_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c
index df919ed..7eac3a3 100644
--- a/src/amd_gx_driver.c
+++ b/src/amd_gx_driver.c
@@ -651,7 +651,9 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
/* Set up the panel */
- if (pGeode->Panel) {
+ if (gx_dcon_init(pScrni)) {
+ pGeode->Panel = TRUE;
+ } else if (pGeode->Panel) {
if (panelgeo != NULL) {
if (GXGetFPInfo(panelgeo, &pGeode->FPBX, &pGeode->FPBY))
pGeode->Panel = FALSE;