Commit graph

15 commits

Author SHA1 Message Date
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
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
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
4d0c8ce146 Check-in of current bus_space changes. 2002-11-11 06:16:53 +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
5e9fad3588 Fix reversed test that broke vblank waiting on FreeBSD.
Pointy hat to: anholt
2002-10-14 23:35:24 +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
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
97961e2c65 BSD vblank framework. 2002-09-26 07:45:07 +00:00
Keith Whitwell
f1c8fe9557 merged r200-0-2-branch to trunk 2002-09-23 17:26:43 +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
David Dawes
14945ada16 Import of XFree86 4.2.0 2002-01-27 18:23:04 +00:00