Eric Anholt
af3bfdef26
Remove the ioctl_count variable from the device. A reference is held to the
...
fp throughout the ioctl syscall, so the device can't be closed out from
under us.
2003-04-24 05:14:05 +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
9b2b2337b3
Move one definition to drm_drv.h and remove the rest of drm_init.h which
...
was all unused.
2003-04-24 00:46:03 +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
aea0418d0d
Remove dead vma code and remove the unused devstate struct definition.
2003-03-29 18:22:28 +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
bf4b8ba753
Remove the vbl signal code because it's untested (and has lock issues on
...
-current).
2003-03-06 19:21:23 +00:00
Eric Anholt
cfa778af9c
Merge from bsd-4-0-0-branch.
2003-02-21 23:23:09 +00:00
Eric Anholt
a885d6786f
Add vblank signal code for BSD DRM. Untested so far, but working with a
...
4.2.0 userland at least.
2002-12-06 02:27:30 +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
97961e2c65
BSD vblank framework.
2002-09-26 07:45:07 +00:00
Alan Hourihane
74ef13fd00
merged bsd-3-0-0-branch
2002-07-05 08:31:11 +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
18fc5ee923
First pass of XFree86 4.0.99.2 merge.
2001-04-09 21:56:31 +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