summaryrefslogtreecommitdiff
path: root/hw/kdrive/smi
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-10-09 07:29:31 +0000
committerKeith Packard <keithp@keithp.com>2003-10-09 07:29:31 +0000
commite5a1c9952f7d621493f08257c8b9456b7608c55a (patch)
tree47108722389d092dad3245cbeb4719ad7bb98091 /hw/kdrive/smi
parent10f721acc5e59ea4152b94246b62963f2ff9d678 (diff)
Initialize smi chip on graphics setup. Seems to help some.
Diffstat (limited to 'hw/kdrive/smi')
-rw-r--r--hw/kdrive/smi/smi.h4
-rw-r--r--hw/kdrive/smi/smidraw.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/kdrive/smi/smi.h b/hw/kdrive/smi/smi.h
index 7663592b5..ba985f48d 100644
--- a/hw/kdrive/smi/smi.h
+++ b/hw/kdrive/smi/smi.h
@@ -70,8 +70,8 @@
#include "kxv.h"
-#define DEBUG
-#ifdef DEBUG
+#define SMI_DEBUG 0
+#if SMI_DEBUG
#define DBGOUT(fmt,a...) fprintf (stderr, fmt, ##a)
#else
#define DBGOUT(fmt,a...)
diff --git a/hw/kdrive/smi/smidraw.c b/hw/kdrive/smi/smidraw.c
index 12910bbb1..161fe91f0 100644
--- a/hw/kdrive/smi/smidraw.c
+++ b/hw/kdrive/smi/smidraw.c
@@ -315,6 +315,7 @@ smiDrawEnable (ScreenPtr pScreen)
}
}
+ smiSetup (pScreen, 0);
KdMarkSync (pScreen);
LEAVE ();
}