Rik Faith
3239b80b18
Fix /proc files to output all available data (In recent kernels, they have
...
been truncating the output.)
2001-02-02 17:59:50 +00:00
Rik Faith
0af4b005af
Add new ioctls and example drmstat.c program More ioctls are needed, but
...
this shows preliminary examples Try, for example: ./drmstat -cmv
2001-02-02 11:44:22 +00:00
Rik Faith
95bb76c7de
Add drm_stub.h support This allows proper handling of /proc entries when
...
multiple drivers are loaded. This also paves the way for a fixed MAJOR
number and the eventual deprecation of /proc dependencies.
2001-02-01 20:54:01 +00:00
Rik Faith
6fc31e043a
Add DRM_MAJOR
2001-02-01 20:51:44 +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
f352e41fec
Yes, this really is development code...
2001-01-28 13:02:11 +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
Gareth Hughes
4d2a4455b4
- Misc cleanups.
...
- Fix drmR128Clear parameters (Radeon to follow).
- Add some helper macros to r128/radeon kernel modules.
2001-01-24 15:34:46 +00:00
Jeff Hartmann
642bb6fbb0
file ati_pcigart.h was initially added on branch ati-pcigart-0-0-1-branch.
2001-01-23 17:53:57 +00:00
Jeff Hartmann
97379b82c8
file ati_pcigart.c was initially added on branch ati-pcigart-0-0-1-branch.
2001-01-23 17:53:57 +00:00
Jeff Hartmann
9116644366
Fixed problem preventing compile on system w/o agpgart.
2001-01-18 18:21:05 +00:00
Jeff Hartmann
417bfc8a9d
file r128_pcigart.c was initially added on branch ati-pcigart-0-0-1-branch.
2001-01-17 18:43:04 +00:00
Jeff Hartmann
5708131c9a
file scatter.c was initially added on branch ati-pcigart-0-0-1-branch.
2001-01-17 18:43:04 +00:00
Gareth Hughes
4c3f3de819
Remove debug messages.
2001-01-13 01:33:00 +00:00
Keith Whitwell
33e8dcf7e9
Makefile.linux was checking $(MACHINE) for 'i386' before building the
...
i810.o module. However on my i810's, $(MACHINE) is 'i686'.
2001-01-11 20:05:39 +00:00
Nathan Hand
61c15f4a2d
Merged tdfx-3-0-0
2001-01-08 16:21:42 +00:00
Kevin E Martin
0994e635b2
Merged ati-5-0-0
2001-01-05 22:57:55 +00:00
Rik Faith
833af23c5d
Sync with Linux 2.4.0-prerelease
2001-01-04 18:41:41 +00:00
Keith Whitwell
c7c6156aec
add blit ioctl, fix plnwt handling
2000-12-30 23:28:53 +00:00
Gareth Hughes
b19c44e4fe
Update date information.
2000-12-15 01:15:57 +00:00
Gareth Hughes
013d6f0806
file bufs_tmp.h was initially added on branch mach64-0-0-1-branch.
2000-12-13 10:30:26 +00:00
Gareth Hughes
8725828cf0
- Fix nasty depth span bug. Drawable offset was not being added to pixel
...
coords.
- Remove unneeded mask parameters from clear ioctl.
- Use correct subpixel offsets, fixes most glean bugs.
- Remove 32-bit depth buffer support. Only use 16 or 24-bit depth buffers.
2000-12-12 14:50:50 +00:00
David Dawes
14a7377536
Import of XFree86 4.0.1g
2000-12-05 16:39:28 +00:00
Gareth Hughes
41fa18dda5
file mach64_dma.c was initially added on branch mach64-0-0-1-branch.
2000-12-04 06:26:37 +00:00
Gareth Hughes
51b68cb483
file mach64_state.c was initially added on branch mach64-0-0-1-branch.
2000-12-04 06:26:37 +00:00
Gareth Hughes
8e02d8dcc4
file mach64_drm.h was initially added on branch mach64-0-0-1-branch.
2000-12-02 13:10:03 +00:00
Gareth Hughes
e15a24e154
Merged ati-4-1-1-branch into trunk.
2000-12-02 06:14:18 +00:00
David Dawes
33fd00485f
Import of XFree86 4.0.1f
2000-11-30 17:32:23 +00:00
Gareth Hughes
84699b456d
file context_tmp.h was initially added on branch mach64-0-0-1-branch.
2000-11-27 15:30:26 +00:00
Gareth Hughes
2da85fdba0
file driver_tmp.h was initially added on branch mach64-0-0-1-branch.
2000-11-27 15:30:26 +00:00
Gareth Hughes
3e9ebfb4cf
file mach64_drv.h was initially added on branch mach64-0-0-1-branch.
2000-11-27 15:30:26 +00:00
Jeff Hartmann
960f13cdf4
Integrated bug fix from David S. Miller (a wait queue removal bug)
2000-11-21 16:18:47 +00:00
Rik Faith
679531e166
Sync with Linux 2.4.0-test11-pre5 Provide backward compatibility tested
...
against 2.2.18pre21
As usual, since all 2.4.0-test* kernels set LINUX_VERSION_CODE to the same
value, if you are running a 2.4.0-test kernel, you MUST be running
2.4.0-test11-pre4 or later (although anything after 2.4.0-test11-pre1
should work fine -- I tested with pre4/pre5). I expect 2.2.x support to
continue to work for all recent kernels, but I tested with 2.2.18pre21
-- we use the old intermodule symbol communication for 2.2.x kernels,
so they should all continue to work.
2000-11-15 15:47:51 +00:00
Rik Faith
0636342ef8
Move .c to .h file
2000-11-14 21:35:00 +00:00
Kevin E Martin
633e9c8f8b
file radeon_state.c was initially added on branch ati-5-0-0-branch.
2000-11-13 23:35:02 +00:00
Kevin E Martin
58d90faf9a
file radeon_cp.c was initially added on branch ati-5-0-0-branch.
2000-11-13 23:35:02 +00:00
Rik Faith
006458f227
Split agpsupport.c into pre-2.4.0 version and current version.
2000-11-10 18:27:33 +00:00
David Dawes
94071289a4
merge with 4.0.1d
2000-11-08 00:07:17 +00:00
David Dawes
5745cb7fa7
Import of XFree86 4.0.1d
2000-11-07 22:10:46 +00:00
Jeff Hartmann
37d6828fef
Added multitexture fix to the mga drm driver
2000-11-01 19:00:45 +00:00
Rik Faith
52f0bc3c9e
More changes for sync with Linux 2.4.0-test9-pre7
2000-09-29 02:05: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