summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_bufs.h
Commit message (Collapse)AuthorAgeFilesLines
* Update to DRM CVS as of 2005-04-12, bringing many changes:anholt2005-04-161-973/+0
| | | | | | | | | | | | | | | | | | | | - Split core DRM routines back into their own module, rather than using the nasty templated system like before. - Development-class R300 support in radeon driver (requires userland pieces, of course). - Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others. - i915 driver files, which just need to get drm_drv.c fixed to allow attachment to the drmsub device. Covers i830 through i915 integrated graphics. - savage driver files, which should require minimal changes to work. Covers the Savage3D, Savage IX/MX, Savage 4, ProSavage. - Support for color and texture tiling and HyperZ features of Radeon. Thanks to: scottl (much p4 handholding) Jung-uk Kim (helpful prodding) PR: [1] kern/76879, [2] kern/72548 Submitted by: [1] Alex, lesha at intercaf dot ru [2] Shaun Jurrens, shaun at shamz dot net
* - Change the vm_mmap() function to accept an objtype_t parameter specifyingjhb2005-04-011-5/+1
| | | | | | | | | | | | the type of object represented by the handle argument. - Allow vm_mmap() to map device memory via cdev objects in addition to vnodes and anonymous memory. Note that mmaping a cdev directly does not currently perform any MAC checks like mapping a vnode does. - Unbreak the DRM getbufs ioctl by having it call vm_mmap() directly on the cdev the ioctl is acting on rather than trying to find a suitable vnode to map from. Reviewed by: alc, arch@
* Neuter DRM(mapbufs) until somebody finds time to try to fix it.phk2005-02-221-0/+4
| | | | | | It is _never_ OK to find a vnode from a struct cdev because you have no way of telling if you get the right one. You might be in jail or chroot for instance.
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-2/+2
|
* Merge from DRI CVS. No longer maps the framebuffer into KVA on radeon, r128,anholt2004-01-061-22/+17
| | | | and mga. MTRR code cleanups. Includes new Radeon and Rage 128 PCI IDs.
* Fix a few more places where NULL was used instead of 0.se2003-12-231-2/+2
|
* Update from DRI CVS. Includes locking fixes (including PR 59202), changes foranholt2003-11-121-0/+10
| | | | | | Radeon IGP support (still lacking PCI IDs), and DRM interface 1.2 updates which include finally tying the DRM instances to specific devices rather than relying on the X Server.
* Update to latest from DRI CVS. Primary new feature is mostly-complete smpnganholt2003-10-241-267/+165
| | | | | | | | locking, and the apparently unnecessary locking for -stable has been removed. This may fix issues with missed interrupts since April, which manifested themselves as slowdowns or hangs in radeon, in particular. Many cleanups also took place. In the shared code, there are improvements to r128 driver stability.
* Update DRM from DRI CVS as of today. Notable changes include Radeonanholt2003-08-191-58/+100
| | | | | suspend/resume support and Rage 128 pageflipping support (both of which require XFree86 from CVS), along with miscellaneous cleanups.
* Update the DRM to the latest from DRI CVS. Includes some bugfixes and removalanholt2003-04-251-183/+70
| | | | | | of the infrastructure for the gamma driver which was removed a while back. The DRM_LINUX option is removed because the handler is now provided by the linux compat code itself.
* Update the DRM to latest from DRI CVS. This is approximately the versionanholt2003-03-091-372/+249
| | | | | | | included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users.
* More diff reduction: Shuffle around some header code as was done inanholt2002-04-291-33/+13
| | | | | | | drmcommand-0-0-1-branch of DRI CVS, more return code cleanup, and remove some gratuitous ifdefs. Approved by: des
* Diff reduction to my experimental code: clean up return code handling.anholt2002-04-291-61/+61
| | | | Approved by: des
* Add the code for the DRM, based on the code from the drm-kmod port.anholt2002-04-271-0/+1284
This is not hooked up yet, that will come later. Approved by: des
OpenPOWER on IntegriCloud