summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_drv.h
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-2/+2
|
* Now that mem(4) is a kernel module, we need to add a dependency onmux2004-08-051-0/+1
| | | | | | | it in drm(4) for mem_range_attr_set(). This fixes loading a DRM driver as a module. Reviewed by: anholt
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-3/+3
| | | | 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-7/+16
| | | | packet for Radeon.
* Prefer uintptr_t to intptr_t.obrien2004-03-031-5/+5
|
* Cast thru intptr_t on the way to void* for success on 64-bit platforms.obrien2004-03-031-5/+5
|
* Device megapatch 4/6:phk2004-02-211-1/+2
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* 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.
* This is not a D_TTY driver.phk2004-02-141-1/+1
|
* Merge from DRI CVS. No longer maps the framebuffer into KVA on radeon, r128,anholt2004-01-061-15/+13
| | | | and mga. MTRR code cleanups. Includes new Radeon and Rage 128 PCI IDs.
* Update from DRI CVS. Includes locking fixes (including PR 59202), changes foranholt2003-11-121-8/+22
| | | | | | 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-226/+186
| | | | | | | | 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-1/+1
| | | | | 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-236/+45
| | | | | | 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-535/+406
| | | | | | | 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.
* Don't initialize d_kqfilter to 0.phk2003-03-031-3/+1
|
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-14/+11
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* In an SMP environment post-Giant it is no longer safe to blindlytruckman2002-10-031-1/+1
| | | | | | | | | dereference the struct sigio pointer without any locking. Change fgetown() to take a reference to the pointer instead of a copy of the pointer and call SIGIO_LOCK() before copying the pointer and dereferencing it. Reviewed by: rwatson
* Remove drm_linux.h, move the two useful defines into drm_drv.h. Use fd lockinganholt2002-09-011-12/+61
| | | | | | | | 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
* In continuation of early fileop credential changes, modify fo_ioctl() torwatson2002-08-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | accept an 'active_cred' argument reflecting the credential of the thread initiating the ioctl operation. - Change fo_ioctl() to accept active_cred; change consumers of the fo_ioctl() interface to generally pass active_cred from td->td_ucred. - In fifofs, initialize filetmp.f_cred to ap->a_cred so that the invocations of soo_ioctl() are provided access to the calling f_cred. Pass ap->a_td->td_ucred as the active_cred, but note that this is required because we don't yet distinguish file_cred and active_cred in invoking VOP's. - Update kqueue_ioctl() for its new argument. - Update pipe_ioctl() for its new argument, pass active_cred rather than td_ucred to MAC for authorization. - Update soo_ioctl() for its new argument. - Update vn_ioctl() for its new argument, use active_cred rather than td->td_ucred to authorize VOP_IOCTL() and the associated VOP_GETATTR(). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Make funsetown() take a 'struct sigio **' so that the locking canalfred2002-05-061-1/+1
| | | | | | | | | | | | | | | | be done internally. Ensure that no one can fsetown() to a dying process/pgrp. We need to check the process for P_WEXIT to see if it's exiting. Process groups are already safe because there is no such thing as a pgrp zombie, therefore the proctree lock completely protects the pgrp from having sigio structures associated with it after it runs funsetownlst. Add sigio lock to witness list under proctree and allproc, but over proc and pgrp. Seigo Tanimura helped with this.
* More diff reduction: Shuffle around some header code as was done inanholt2002-04-291-14/+4
| | | | | | | 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-19/+19
| | | | Approved by: des
* Add the code for the DRM, based on the code from the drm-kmod port.anholt2002-04-271-0/+1455
This is not hooked up yet, that will come later. Approved by: des
OpenPOWER on IntegriCloud