From e5a1c9952f7d621493f08257c8b9456b7608c55a Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 9 Oct 2003 07:29:31 +0000 Subject: Initialize smi chip on graphics setup. Seems to help some. --- hw/kdrive/smi/smi.h | 4 ++-- hw/kdrive/smi/smidraw.c | 1 + 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 (); } -- cgit v1.2.3