Commit graph

35 commits

Author SHA1 Message Date
Rik Faith
db6b1ce9b8 Add extensible counters for statistics via ioctl 2001-02-09 16:00:14 +00:00
Gareth Hughes
9a426ec53e Checkpoint commit before I fix IRQ disable/enable. 2001-02-08 15:57:40 +00:00
Rik Faith
af7d8707dd Fix up warnings for printk statements 2001-02-01 20:51:21 +00:00
Gareth Hughes
30da0a74b5 Add spinlocks to interrupt handler. 2001-01-31 18:33:34 +00:00
Gareth Hughes
c76a35b3c8 Put PRIMEND write after DMAPADs to prevent race condition. 2001-01-31 18:24:57 +00:00
Gareth Hughes
5f15407b9c This is how it should be done...
We generate a SOFTRAP interrupt only when the primary DMA space wraps
    around. All writes to dev_priv->prim.tail must be locked with an
    IRQ-safe spinlock, as the interrupt handler reads this value.
2001-01-31 16:30:45 +00:00
Gareth Hughes
b5366b9789 Checkpoint commit, I'm about to throw all this code away... 2001-01-31 14:33:28 +00:00
Gareth Hughes
b6f4c2f7bf Don't really use the status page, keep the ring write pointer ourselves.
'book/double' will sit there and happily spin away, which kind of
    implies the DMA handling works well now. Other apps still causing
    lockups, most likely due to the fact I haven't fixed the rest of the
    code yet.
2001-01-29 03:07:13 +00:00
Gareth Hughes
c79ebf19ee More intermediate hacking... 2001-01-29 00:25:24 +00:00
Gareth Hughes
0bdc7bf06f More hacking on mga kernel module v3.0.0, basic (non-textured) apps work
great. Animation still needs sorting out, most apps run fine for a
    while and then lock up. This is just a snapshot, lots more stuff to
    come.
2001-01-28 12:54:52 +00:00
Gareth Hughes
4840ecda0b New DRM template architecture, with initial implementation of MGA driver
using core DRM templates. Other drivers to follow.
Note: This is missing the corresponding updates to the MGA 2D driver, so it
    will not run yet. These updates will also follow.
2001-01-24 16:09:02 +00:00
Rik Faith
833af23c5d Sync with Linux 2.4.0-prerelease 2001-01-04 18:41:41 +00:00
Rik Faith
39a659e877 Audit calls to schedule() Remove tags from files shared with Linux kernel
tree Remove debugging statements to make debugging more useful Other
    minor cleanups in preparation for sync with Linux 2.4.0-test9-pre7
2000-09-29 01:47:11 +00:00
Jeff Hartmann
b0a7efb5a9 Use PG_reserved for things we remap non-cached 2000-09-28 23:04:57 +00:00
Jeff Hartmann
550dff98b0 Merged the mga-lock-debug-0-2-0-branch with the trunk. This includes
several fixes including: (Jeff) Really disable multitexture (Broken
    since Mesa 3.4 integration.)
(Jeff) Various changes in mga_state.c in the kernel module, which includes
    a fix to the bug where the first OGL application hangs the machine
    w/out rendering anything. This also includes defines for the warp
    registers so they are easily human readable.
(Rik and Jeff) Fixed all the schedule loops in the kernel to look like they
    are supposed too.
(Jeff) Configurable agp modes: Add the option "AGPMode2x" or "AGPMode4x" to
    your XF86Config file.
(Rik) Various cleanups to the mga kernel driver to make it easier to read
    and debug.
(Rik) Removed alot of DRM_DEBUG statements from the kernel driver.
2000-09-27 21:32:19 +00:00
Alan Hourihane
c7558d8fa4 commit xfree86 4.0.1d-pre update 2000-09-24 09:34:10 +00:00
Rik Faith
de842ea5db Make management of current->state more correct. 2000-09-19 19:41:07 +00:00
Rik Faith
01346c98b1 Make management of current->state correct (accidentally made incorrect when
fixing the trispd bug).
2000-09-19 19:24:28 +00:00
Rik Faith
f850c1bd06 Remove debugging statement from production code. 2000-09-13 15:02:35 +00:00
Rik Faith
1f8651163a Fix for [Bug #112247] Hard MGA lock with trispd -size 50000 2000-09-13 15:00:09 +00:00
Gareth Hughes
5f2cfc5bd8 Merge of tdfx branch undid the changes from the 2.4.0-test8-pre5 kernel
sync, so apply them again.
2000-09-07 20:42:32 +00:00
Alan Hourihane
f1bb3c5f5f Merged tdfx-2-1-branch 2000-09-07 12:40:41 +00:00
Gareth Hughes
7db6449142 Sync with 2.4.0-test8-pre5 kernel. 2000-09-06 20:56:34 +00:00
Keith Whitwell
926349534d Initialize vertsize correctly. Add planemask arguments for color and depth
stencil clearing.
2000-08-30 22:34:28 +00:00
Rik Faith
32cebaf750 Add compatibility header file to make Linux 2.4.0 kernel patches cleaner. 2000-08-28 19:50:52 +00:00
Rik Faith
6f07e1ff6b Sync with Linux 2.4.0-test7 Add signal blocking support to all drivers
(using control-z on a running direct-rendering client should work now)
2000-08-26 10:36:44 +00:00
Rik Faith
37643234af Apply patch from Alan Hourihane to temporarily allow compilation on Alpha
(the driver has not been tested on Alpha -- this just makes it compile)
2000-08-25 12:49:18 +00:00
Jeff Hartmann
3e42514360 Fix for bug #111744 which caused any application to never render and dma to
stall on certain mga cards
2000-08-16 21:13:24 +00:00
Rik Faith
8b9363d1b1 Sync with Linux 2.4.0-test6-pre8 2000-08-08 16:04:21 +00:00
Alan Hourihane
8751b6774d Merge XFree86 4.0.1 2000-07-11 11:41:07 +00:00
Brian Paul
569da5a42e Merged glxmisc-3-0-0 2000-06-08 14:38:22 +00:00
Keith Whitwell
ddcb28259f Merged mga-0-0-3-branch
- New security model for i810
- Enable i810 dri by default
- New indexed vertex path for mga
- Mga kernel driver rework
- Removed dead files in i810 driver
2000-05-25 21:06:02 +00:00
Jeff Hartmann
1dcfddf915 Fixed reclaim Oops 2000-04-05 18:48:23 +00:00
Jeff Hartmann
ba1b1ae380 Merged mga branch with trunk 2000-04-04 22:08:14 +00:00
Kevin E Martin
7a9b291ab5 Import of XFree86 3.9.18 2000-02-22 15:43:59 +00:00