xserver/hw/kdrive/fake fakeinit.c,1.1,1.2

Eric Anholt <xserver-commit-u7BhqnqprCWvj1b/[email protected]> Thu, 9 Jun 2005 03:44:47 -0700 (PDT)
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: anholt

Update of /cvs/xserver/xserver/hw/kdrive/fake
In directory gabe:/tmp/cvs-serv30863/hw/kdrive/fake

Modified Files:
	fakeinit.c 
Log Message:
- Replace the syncAccel hook in the kdrive structure with a pair of
  hooks in the kaa structure: markSync and waitMarker.  The first, if
  set, returns a hardware-dependent marker number which can then be
  waited for with waitMarker.  If markSync is absent (which is the case
  on all drivers currently), waitMarker must wait for idle on any given
  marker number.  The intention is to allow for more parallelism when
  we get downloading from framebuffer, or more fine-grained idling.
- Replace the KdMarkSync/KdCheckSync functions with kaaMarkSync and
  kaaWaitSync.  These will need to be refined when KAA starts being
  smart about using them.  Merge kpict.c into kasync.c since kasyn.c has
  all the rest of these fallback funcs.
- Restructure all drivers to initialize a KaaInfo structure by hand
  rather than statically in dubious order.
- Whack the i810 driver into shape in hopes that it'll work after this
  change (it certainly wouldn't have before this).  Doesn't support my
  i845 though.
- Make a new KXV helper to avoid duplicated code to fill the region
  with the necessary color key.  Use it in i810 and mach64 (tested).


Index: fakeinit.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/fake/fakeinit.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fakeinit.c	28 Apr 2004 07:26:46 -0000	1.1
+++ fakeinit.c	9 Jun 2005 10:44:45 -0000	1.2
@@ -87,7 +87,6 @@
     
     0,			    /* initAccel */
     0,			    /* enableAccel */
-    0,			    /* syncAccel */
     0,			    /* disableAccel */
     0,			    /* finiAccel */