Eric Anholt
a79adaab72
Missed files in the last commit: Remove memory debugging sysctl unless
...
MEMORY_DEBUG is set.
2003-04-26 22:21:37 +00:00
Eric Anholt
e60eb69bc0
Replace the C atomic_cmpset_int compatibility function for -stable with the
...
real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever
have DRM support for non-i386.
2003-04-26 06:53:22 +00:00
Eric Anholt
acb5d6b273
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
...
setting for AGP cards on SMP machines.
2003-04-26 06:39:55 +00:00
Eric Anholt
77ee73f8cd
Merge from FreeBSD-current.
2003-04-25 02:27:21 +00:00
Eric Anholt
bcd527ee71
Remove a bunch of dead code and fix spelling of a couple of comments.
2003-04-24 04:50:07 +00:00
Eric Anholt
e21473c888
Remove DRM_DMA_HISTOGRAM and associated code.
2003-04-24 00:37:35 +00:00
Eric Anholt
1fc0a5e1e4
Make DRM(read) and DRM(poll) stubs and remove DRM(write) and
...
DRM(write_string). This is the first part of removing much of the
support code for gamma from the BSD DRM, since it appears that no new
drivers are using it and nobody has ever shown interest in gamma on
BSD.
2003-04-24 00:25:36 +00:00
Eric Anholt
6ef79263b6
Add DRMFILE definitions and supply filp for BSD in the
...
post-drm-filp-0-1-branch world. The filp is a void * cast from the
current pid. This is a temporary solution which maintains the status
quo until a proper solution is implemented.
What is really needed is a unique pointer per open, hopefully with a device
private area. This can be done in FreeBSD for all entry points except
mmap, but is difficult (sys/dev/streams/streams.c is an example). I
have partially completed code for this but have not had time to debug,
so this is a temporary fix.
2003-03-29 03:38:47 +00:00
Eric Anholt
0bd0dd2300
Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future
...
merging. Also includes an update to radeon PCI IDs.
2003-03-11 20:51:28 +00:00
Eric Anholt
638d45d2a0
Make dma_addr_t an unsigned long not a uint32, don't try to use memrange
...
functions on FreeBSD non-x86, and remove a dead define.
2003-03-08 05:05:41 +00:00
Eric Anholt
1434bfe4a8
Remove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
...
atomic_cmpset_int.
2003-03-05 04:14:52 +00:00
Keith Whitwell
51e5f73d2a
DRM_FREE/2 patch from Philip Brown
2003-03-04 11:41:12 +00:00
Eric Anholt
cfa778af9c
Merge from bsd-4-0-0-branch.
2003-02-21 23:23:09 +00:00
Eric Anholt
66f57c403c
Fix build on -current: Provide M_WAITOK define.
2003-01-24 00:49:15 +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