summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_os_freebsd.h
Commit message (Collapse)AuthorAgeFilesLines
* Specifically use the 32-bit version of fuword/suword since that's whatobrien2004-12-021-7/+6
| | | | | | | we really want vs. the size changing 'long' (i386 vs. AMD64). This fixes the problem with DRM with Radeon's on AMD64. Submitted by: Jung-uk Kim <jkim@niksun.com>
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-2/+2
| | | | Bump __FreeBSD_version accordingly.
* Merge from DRI CVS as of 2004-05-26. Most of the meat is new PCI IDs and a newanholt2004-06-111-0/+7
| | | | packet for Radeon.
* Add memory barrier routines for AMD64.obrien2004-03-031-1/+7
|
* Device megapatch 1/6:phk2004-02-211-1/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Update from DRI CVS. Includes locking fixes (including PR 59202), changes foranholt2003-11-121-0/+6
| | | | | | 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.
* Change the DRM_ERROR about authenticator not found back to DRM_DEBUG. It'sanholt2003-11-031-1/+1
| | | | noisier than I expected, and I don't have the time to actually get it fixed.
* Update to latest from DRI CVS. Primary new feature is mostly-complete smpnganholt2003-10-241-41/+66
| | | | | | | | 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.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-1/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Update DRM from DRI CVS as of today. Notable changes include Radeonanholt2003-08-191-13/+57
| | | | | suspend/resume support and Rage 128 pageflipping support (both of which require XFree86 from CVS), along with miscellaneous cleanups.
* Do not define memset() to bzero(). We have a memset().phk2003-05-311-2/+0
| | | | Found by: FlexeLint
* Merge from DRI CVS: Disable MTRRs on FreeBSD-stable to work around hangs withanholt2003-04-261-10/+17
| | | | | SMP machines. and use i386 asm for atomic_cmpset_int on -stable. This is in preparation for MFCing the DRM.
* Update the DRM to the latest from DRI CVS. Includes some bugfixes and removalanholt2003-04-251-88/+25
| | | | | | 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-100/+242
| | | | | | | 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.
* Remove drm_linux.h, move the two useful defines into drm_drv.h. Use fd lockinganholt2002-09-011-8/+12
| | | | | | | | 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 handler functions. Reviewed by: rwatson
* Remove <sys/select.h> to unbreak the build. I'm not sure if this affectsdes2002-06-161-1/+0
| | | | | the functionality of the drm module, but hopefully it will tide us over until Eric can take a look at it.
* Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__anholt2002-05-311-9/+10
| | | | Approved by: des
* Include <sys/lockmgr.h> for definitions of deprecated locking interfaces --bde2002-05-061-0/+1
| | | | don't depend on namespace pollution in other headers.
* More diff reduction: Shuffle around some header code as was done inanholt2002-04-291-72/+1
| | | | | | | 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-1/+1
| | | | Approved by: des
* Add the code for the DRM, based on the code from the drm-kmod port.anholt2002-04-271-0/+382
This is not hooked up yet, that will come later. Approved by: des
OpenPOWER on IntegriCloud