summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-04-21 21:36:10 +0200
committerFrancisco Jerez <currojerez@riseup.net>2009-04-21 21:47:11 +0200
commit41e5c49024d4e27a7be3da02017000a22b59016f (patch)
tree8ea05f2a85f1622ae805ca756d5b8069e8ac8123
parent6691678b5f04d52a1e08f9eaa6d511df9b7eeb4d (diff)
Don't attempt monitor detection on SM712.
The databook says nothing about it, and it doesn't work.
-rw-r--r--src/smilynx_output.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/smilynx_output.c b/src/smilynx_output.c
index 6f34c3f..5ac0bbd 100644
--- a/src/smilynx_output.c
+++ b/src/smilynx_output.c
@@ -285,7 +285,9 @@ SMILynx_OutputPreInit(ScrnInfoPtr pScrn)
SMI_OutputFuncsInit_base(&outputFuncs);
outputFuncs->dpms = SMILynx_OutputDPMS_crt;
outputFuncs->get_modes = SMILynx_OutputGetModes_crt;
- outputFuncs->detect = SMILynx_OutputDetect_crt;
+
+ if(pSmi->Chipset == SMI_LYNX3DM)
+ outputFuncs->detect = SMILynx_OutputDetect_crt;
if(! (output = xf86OutputCreate(pScrn,outputFuncs,"VGA")))
LEAVE(FALSE);