Eric Anholt
734270fb37
Merge from trunk to bsd-4-0-0-branch.
2003-02-21 07:16:52 +00:00
Eric Anholt
b528efae82
Make the allocation for the ATI PCI GART contiguous. It worked in the past
...
because we happened to only use one page of the table.
2003-02-20 07:58:05 +00:00
Eric Anholt
3796b2c83e
Make the interrupt handlers INTR_MPSAFE. None of them require Giant.
2003-02-20 07:55:37 +00:00
Eric Anholt
e54bfcf827
Add macros from drm_os_freebsd.h. This gets r200 working.
2003-02-09 03:59:54 +00:00
Eric Anholt
8a25e70c65
Updates for NetBSD, fixing mga support at least.
...
Submitted by: Erik Reid
2003-02-08 23:52:30 +00:00
Eric Anholt
2f01ef6402
Cleanup of ati_pcigart.h, removing functions used only once.
2003-02-08 23:51:01 +00:00
Eric Anholt
a49668a280
Updates for current NetBSD. With this, mga and tdfx compile (radeon, r128
...
are close). This particular version hasn't been tested yet.
Submitted by: Erik Reid
2003-01-28 20:53:22 +00:00
Eric Anholt
9e4f21f170
Remove the BSD gamma code. It's probably out of date, probably broken, and
...
hasn't ever been used as far as I can tell.
2003-01-28 20:10:08 +00:00
Eric Anholt
bceba29c23
Fix build on -current: Provide M_WAITOK define.
2003-01-24 00:50:20 +00:00
Eric Anholt
f69ea13e21
Uninitialize spinlocks, which in 5.0 are mutexes that are tracked by
...
WITNESS.
2003-01-17 08:57:02 +00:00
Eric Anholt
7d38b60a67
Add more PCI IDs from pciids.sf.net
2003-01-17 08:54:29 +00:00
Eric Anholt
270e349804
Remove some linuxisms that were left in drm_bufs.h, make some types match,
...
and add a cast to drm_sysctl.h (not sure why this is necessary, but
it's debug info anyway)
2003-01-13 22:53:48 +00:00
Eric Anholt
433526a123
Remove some x86-specific asm in the BSD DRM. For versions without an
...
atomic_cmpset, use spls.
2003-01-13 22:14:20 +00:00
Eric Anholt
b3b6c102ee
Fix locking of memory sysctl on -current: Copy the memory stats under the
...
lock, then ouput the information to the sysctl outside of the lock.
2002-12-05 21:06:41 +00:00
Eric Anholt
4d0c8ce146
Check-in of current bus_space changes.
2002-11-11 06:16:53 +00:00
Eric Anholt
7cf9526001
Clean up some linux leftovers in pcigart code.
2002-11-09 01:56:48 +00:00
Eric Anholt
4e913decdb
Apply a little style(9) in drm_agpsupport.h.
2002-11-09 01:55:40 +00:00
Eric Anholt
e03e54cc02
Remove an unneeded include of <sys/types.h>
2002-11-08 07:28:12 +00:00
Eric Anholt
9a6b59db39
Inaugurate bsd-4-0-0-branch with Erik Reid's NetBSD patches (with enough
...
modifications on my part to have probably broken them thoroughly).
2002-10-31 04:23:09 +00:00
Eric Anholt
e656655a36
Kernel support for vblank syncing on Rage 128 and Matrox.
2002-10-30 06:10:34 +00:00
Eric Anholt
10900dab7c
Use bus_alloc_resource/bus_release_resource more properly: save the rid
...
returned by alloc.
2002-10-29 03:20:21 +00:00
Eric Anholt
9f21f02217
Catch up to -current.
2002-10-27 05:24:33 +00:00
Eric Anholt
5e9fad3588
Fix reversed test that broke vblank waiting on FreeBSD.
...
Pointy hat to: anholt
2002-10-14 23:35:24 +00:00
Eric Anholt
537f2208f0
Remove some noise being spit to the console.
2002-09-29 23:56:17 +00:00
Eric Anholt
506c1c02a4
Make our set_bit and friends match linux better (cleans up some warnings)
2002-09-29 23:21:55 +00:00
Eric Anholt
efda4ce353
warnings cleanup
2002-09-29 22:47:08 +00:00
Eric Anholt
33a51d8518
Fix some of my silliness in DRM_WAIT_ON (not returning EINTR).
2002-09-29 22:39:34 +00:00
Keith Whitwell
9243e642da
Move os-dependent stuff out of radeon_irq.c
2002-09-29 21:19:01 +00:00
Eric Anholt
e6901cad69
Fix up BSD irq handling.
2002-09-29 20:48:18 +00:00
Eric Anholt
97961e2c65
BSD vblank framework.
2002-09-26 07:45:07 +00:00
Eric Anholt
770d045d25
Fix one warning.
2002-09-26 07:21:05 +00:00
Keith Whitwell
f1c8fe9557
merged r200-0-2-branch to trunk
2002-09-23 17:26:43 +00:00
Eric Anholt
9797f0fd17
Remove some extra symlinking for kernel module building that hasn't been
...
needed since 2000.
2002-08-30 23:49:25 +00:00
Eric Anholt
5e81d590d5
Include non-radeon modules in the build.
2002-08-27 01:22:55 +00:00
Keith Whitwell
48cc350e21
merged r200-0-1-branch
2002-08-26 22:16:18 +00:00
Eric Anholt
77c35c043a
Remove drm_linux.h, move the two useful defines into drm_drv.h (the only
...
place they're used). Use fd locking on -current. Actually copy in data
from userspace to kernel in the linux-compat ioctl path. Make sure
ioctl sizes are as expected in the ioctl handler functions.
2002-08-21 07:14:21 +00:00
Alan Hourihane
74ef13fd00
merged bsd-3-0-0-branch
2002-07-05 08:31:11 +00:00
Alan Hourihane
2ab6ff7190
fixups for *BSD
2002-03-11 11:26:13 +00:00
Alan Hourihane
46cacdca85
first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.
2002-03-06 19:30:45 +00:00
David Dawes
44aa4d6297
First pass merge of XFree86 4.2.0 import.
2002-01-27 20:05:42 +00:00
David Dawes
14945ada16
Import of XFree86 4.2.0
2002-01-27 18:23:04 +00:00
David Dawes
16bd14926e
Initial revision
2002-01-27 18:23:04 +00:00
David Dawes
18fc5ee923
First pass of XFree86 4.0.99.2 merge.
2001-04-09 21:56:31 +00:00
David Dawes
1759c16ab9
Import -f XFree86 4.0.99.2
2001-04-09 16:27:54 +00:00
Alan Hourihane
8bc39d01ca
Import of XFree86 4.0.1
2000-07-10 21:32:06 +00:00
Doug Rabson
d399dbcd56
Merged bsd-1-0-1
2000-06-13 17:38:09 +00:00
Doug Rabson
fa0a35a25f
Merged bsd-1-0-0
2000-05-30 17:13:31 +00:00