summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
AgeCommit message (Collapse)AuthorFilesLines
2003-05-16Support AGP bridges where the AGP aperture can't be accessed directly byMichel Daenzer1-3/+3
the CPU (David Mosberger, Benjamin Herrenschmidt, myself, Paul Mackerras, Jeff Wiedemeier)
2003-04-26Add PCI DMA memory functions and make addbufs_pci and associated code useEric Anholt1-1/+8
it. To do this we need to save the bus address along with the virtual address in the seglist. Also fix some error handling and a few bits of whitespace.
2003-04-26Move the memory functions with debugging info to drm_memory_debug.h, andEric Anholt1-3/+0
remove a couple of dead functions.
2003-04-25Merge from FreeBSD-current.FreeBSD-20030424Eric Anholt1-1/+1
2003-04-24Remove more gamma DMA infrastructure. Most of this code was copied straightEric Anholt1-48/+0
from linux, so it could be added back if some driver needed it in the future.
2003-04-24Remove more gamma DMA code. This isn't all of it, but it's a major portion.Eric Anholt1-18/+1
2003-04-24Move some common code from addbufs_<type> to addbufs. Make buf_alloc beEric Anholt1-5/+2
protected by the count_lock and make it non-atomic.
2003-04-24Remove the ioctl_count variable from the device. A reference is held to theEric Anholt1-1/+0
fp throughout the ioctl syscall, so the device can't be closed out from under us.
2003-04-24Remove a bunch of dead code and fix spelling of a couple of comments.Eric Anholt1-43/+1
2003-04-24Move one definition to drm_drv.h and remove the rest of drm_init.h whichEric Anholt1-2/+0
was all unused.
2003-04-24Remove DRM_DMA_HISTOGRAM and associated code.Eric Anholt1-41/+0
2003-04-24Make DRM(read) and DRM(poll) stubs and remove DRM(write) andEric Anholt1-11/+0
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-03-29Remove dead vma code and remove the unused devstate struct definition.Eric Anholt1-28/+14
2003-03-29Add DRMFILE definitions and supply filp for BSD in theEric Anholt1-4/+81
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-11Merge back from FreeBSD-current, adding FreeBSD ID tags to aid futureX_4_3_0-20020324-preimportEric Anholt1-1/+1
merging. Also includes an update to radeon PCI IDs.
2003-03-06Remove the vbl signal code because it's untested (and has lock issues onEric Anholt1-0/+3
-current).
2003-02-21Merge from bsd-4-0-0-branch.bsd-4-0-0-20030221-mergeEric Anholt1-10/+23
2002-12-06Add vblank signal code for BSD DRM. Untested so far, but working with aEric Anholt1-0/+11
4.2.0 userland at least.
2002-10-29Use bus_alloc_resource/bus_release_resource more properly: save the ridEric Anholt1-0/+1
returned by alloc.
2002-09-26BSD vblank framework.Eric Anholt1-0/+10
2002-07-05merged bsd-3-0-0-branchbsd-3-0-0-20020705-mergeAlan Hourihane1-33/+31
2002-03-06first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.Alan Hourihane1-0/+4
2002-01-27First pass merge of XFree86 4.2.0 import.X_4_2_0-20020128-mergeDavid Dawes1-413/+310
2001-04-09First pass of XFree86 4.0.99.2 merge.X_4_0_99_2-20010410-mergeDavid Dawes1-10/+22
2000-07-10Import of XFree86 4.0.1X_4_0_1Alan Hourihane1-1/+1
2000-06-13Merged bsd-1-0-1pre401-20000613-freezebsd-1-0-1-20000613-mergeDoug Rabson1-5/+20
2000-05-30Merged bsd-1-0-0bsd-1-0-0-20000531-mergeDoug Rabson1-0/+708