summaryrefslogtreecommitdiff
path: root/src/smi.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-14 20:36:09 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-14 20:36:09 -0200
commitcd10af22240b9df7c264b15c483d8cc4505ee359 (patch)
treeec41312655a3e06a04f2a8ba5c248e1e4e57cd35 /src/smi.h
parent41ef793b0ed6014ed49bef011259f977833aef5d (diff)
Only compile smi_dga.c when xf86DiDGAInit is not available.
Besides reducing driver size, this should make DGA+EXA accelerated.
Diffstat (limited to 'src/smi.h')
-rw-r--r--src/smi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smi.h b/src/smi.h
index 66d28df..76de956 100644
--- a/src/smi.h
+++ b/src/smi.h
@@ -390,8 +390,10 @@ void SMI_LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies,
xf86MonPtr SMI_ddc1(ScrnInfoPtr pScrn);
void SMI_PrintRegs(ScrnInfoPtr pScrn);
+#ifndef HAVE_XMODES
/* smi_dga.c */
Bool SMI_DGAInit(ScreenPtr pScrn);
+#endif
/* smi_video.c */
void SMI_InitVideo(ScreenPtr pScreen);