summaryrefslogtreecommitdiff
path: root/linux-core/drm_context.c
AgeCommit message (Collapse)Author
2007-07-20Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.Eric Anholt
The data is now in kernel space, copied in/out as appropriate according to the This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal with those failures. This also means that XFree86 4.2.0 support for i810 DRM is lost.
2007-07-20Replace filp in ioctl arguments with drm_file *file_priv.Eric Anholt
As a fallout, replace filp storage with file_priv storage for "unique identifier of a client" all over the DRM. There is a 1:1 mapping, so this should be a noop. This could be a minor performance improvement, as everything on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls went the other direction.
2007-07-18drm_context: fix brainoDave Airlie
2007-07-16drm: remove drmP.h internal typedefsDave Airlie
2007-07-16drm: detypedef drm.h and fixup all problemsDave Airlie
2007-07-03Use idr_replace trick to eliminate struct drm_ctx_sarea_list.Kristian Høgsberg
2007-07-03Don't take dev->struct_mutex twice in drm_setsareactx.Kristian Høgsberg
2007-06-10use krh's idr mods to remove lists from idr codeDave Airlie
2007-05-27drm: move context handling code to use linux idrDave Airlie
2007-05-26drm: cleanup use of Linux list handling macrosDave Airlie
This makes the drms use of the list handling macros a lot cleaner and more along the lines of how they should be used.
2006-08-28fixup some of the comments in drm_context.cDave Airlie
2006-07-24switch drm to use Linux mutexes instead of semaphore.Dave Airlie
I hope the fallback compat code works if not shout at me.
2006-02-18major realigment of DRM CVS with kernel code, makes integration much easierDave Airlie
2006-01-02sparse cleanupsDave Airlie
2005-12-04Fix from SuSE for issue with context creation failureDave Airlie
2005-08-16add Egberts 32/64 bit patch (its in kernel already...)Dave Airlie
2005-08-12Reverting the previous via security-fix commit, since the assumption ofThomas Hellstrom
contexts registered with the callers filp was wrong.
2005-08-11Missing symbol export from previous via context check commit.Thomas Hellstrom
2005-08-10Security fix on via: Checking that the specified context belongs to theThomas Hellstrom
caller on fb / agp memory alloc and free. Otherwise malicious clients can register allocations on other clients or free memory used by other clients which will lead to severe memory manager inconsistensies.
2005-08-05Fix bug in return to userspace resctx codeDave Airlie
From: Egbert Eich <eich@suse.de>
2005-06-04misc cleanup patch from Adrian BunkDave Airlie
2004-10-18Update Doxygen configuration & comments.Jose Fonseca
2004-10-12Breakout heads into their own data structures.Jon Smirl
2004-10-10Rename fn_tbl to driver. Core driver now uses pci_driver name whichJon Smirl
reflects the personality name.
2004-09-30Lindent of core build. Drivers checked for no binary diffs. A few filesJon Smirl
weren't Lindent's because their comments didn't convert very well. A bunch of other minor clean up with no code implact included.
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl
2004-09-05merge back bunch of whitespace and misc changes from kernelDave Airlie
2004-09-02oops called ctor instead of dtor.. found this on the kernel mergeDave Airlie
2004-08-29remove hacky context thing that was gamma onlyDave Airlie
2004-08-27__NO_VERSION__ hasn't been needed since 2.3 days ditch it...Dave Airlie
2004-08-24Merged drmfntbl-0-0-2Dave Airlie
2004-08-17Merged drmfntbl-0-0-1Dave Airlie
2004-08-14Add a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in anEric Anholt
upcoming commit for the SiS driver.
2004-07-20first set of __user annotations from kernel (Al Viro)Dave Airlie
2004-02-20drm_ctx_dtor.patch Submitted by: Erdi ChenKeith Whitwell
2003-05-27Merged DRM documentation.Jose Fonseca
2003-04-22remove unused variableAlan Hourihane
2003-04-22Move a chunk of gamma-specific code out of drm_dma.h. Remove unusedKeith Whitwell
'DRM_FLAG_NOCTX' option.
2003-04-22remove unused dma histogram codeKeith Whitwell
2003-04-22Move a bunch of gamma-specific code into a gamma-specific file. Restore theKeith Whitwell
kooky DRM(write_string) code for gamma.
2003-04-22remove DRM read, poll and write_stringKeith Whitwell
2003-04-08Use list_entry() to get container struct from struct list_head pointers.Leif Delgass
Build fix for RedHat 9 kernel (5 args to remap_page_range()).
2002-06-25gamma_alloc -> DRM(alloc)Alan Hourihane
2002-01-27First pass merge of XFree86 4.2.0 import.David Dawes
2001-09-25merge with 2.4.10 kernelAlan Hourihane
2001-08-13Sync with Linus 2.4.9-pre2 + make all nopage routines more alikeJeff Hartmann
2001-08-07Lots of DRM fixes: added new pieces of template code so the ffb driver canJeff Hartmann
be ported, rolled back r128 and i810 version bumps so 4.1.0 works with cvs kernel modules, added Config.in and updated Makefile.kernel, incorporated lots of drm fixes inspired by patches sent by Redhat, made DRM(realloc) usage check for NULL allocations, restructure driver init routines to export dev_priv only when initialized and to check for all error conditions.
2001-03-14Merged sarea-1-0-0Kevin E Martin
2001-02-16- Clean up the way customization of the templates is done.Gareth Hughes
- Fix old-style DMA for gamma driver (please test). - Pull out IRQ handling into drm_dma.h (please test on i810, gamma). - Lots of general cleanups, remove compiler warnings etc.
2001-02-15Merge mga-1-0-0-branch into trunk.Gareth Hughes