summaryrefslogtreecommitdiff
path: root/src/smilynx_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smilynx_output.c')
-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);