summaryrefslogtreecommitdiff
path: root/linux/gamma_dma.c
AgeCommit message (Collapse)AuthorFilesLines
2004-08-29Drop GAMMA DRM from a great height ...Dave Airlie1-961/+0
2004-08-27__NO_VERSION__ hasn't been needed since 2.3 days ditch it...Dave Airlie1-1/+0
2004-08-24Merged drmfntbl-0-0-2drmfntbl-0-0-2-20040824-mergeDave Airlie1-7/+12
2004-08-17Merged drmfntbl-0-0-1drmfntbl-0-0-1-20040817-mergeDave Airlie1-12/+56
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie1-1/+1
2004-07-20first set of __user annotations from kernel (Al Viro)Dave Airlie1-9/+10
2004-06-10gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indicesDave Airlie1-6/+39
and/or d->send_sizes. When these functions are called from gamma_dma, these pointers are user pointers and are thus not safe to deref. This patch copies over the pointers inside gamma_dma_priority and gamma_dma_send_buffers. Submitted-by: Robert T. Johnson <rtjohnso@eecs.berkeley.edu> Signed-off-by: Dave Airlie <airlied@linux.ie>
2004-04-10update gamma_dma with patch from davej in 2.6Dave Airlie1-16/+34
2003-11-05- Tie the DRM to a specific device: setunique no longer succeeds when givenEric Anholt1-1/+1
a busid that doesn't correspond to the device the DRM is attached to. This is a breaking of backwards-compatibility only for the multiple-DRI-head case with X Servers that don't use interface 1.1. - Move irq_busid to drm_irq.h and make it only return the IRQ for the current device. Retains compatibility with previous X Servers, cleans up unnecessary code. This means no irq_busid on !__HAVE_IRQ, but can be changed if necessary. - Bump interface version to 1.2. This version when set signifies that the control ioctl should ignore the irq number passed in and enable the interrupt handler for the attached device. Otherwise it errors out when the passed-in irq is not equal to the device's. - Store the highest version the interface has been set to in the device. - Fix a recursion on DRM_LOCK in irq_uninstall on FreeBSD. This leaves irq_uninstall being done without the lock in some cases, but it was racey anyways.
2003-10-17- Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle themEric Anholt1-3/+3
from __HAVE_DMA. This will be useful for adding vblank sync support to sis and tdfx. Rename dma_service to irq_handler, which is more accurately what it is. - Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have the right number of underscores. This may have been a problem in the case that the server died without doing its DRM_IOCTL_CONTROL to uninit.
2003-07-29IRQ code cleanup suggested by Linus TorvaldsMichel Daenzer1-3/+3
i830 build fix
2003-07-25Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't breakMichel Daenzer1-3/+5
the i830 driver or the BSDs. :)
2003-05-16Support AGP bridges where the AGP aperture can't be accessed directly byMichel Daenzer1-2/+2
the CPU (David Mosberger, Benjamin Herrenschmidt, myself, Paul Mackerras, Jeff Wiedemeier)
2003-04-26Ensure driver has been initialized (dev_private != NULL) before installingLeif Delgass1-0/+12
irq handler in DRM(irq_install). Modify all drivers to ensure irq handler is removed before cleanup and cleanup is called at takedown. Remove unused buffer private struct fields in i810, i830. Check for lock on init/cleanup in all drivers except i810/i830. The current DDX for i810 and i830 doesn't hold the lock on kernel init (FIXME?).
2003-04-24Single/dual rasterizer quiescence patch for the glint/gamma DRI driverDavid Dawes1-0/+2
(#5685, Sven Luther).
2003-04-22change PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as perAlan Hourihane1-0/+32
the other drivers
2003-04-22remove unused dma histogram codeKeith Whitwell1-27/+0
2003-04-21Check for NULL map before calling DRM(ioremapfree) on cleanup. Prevents anLeif Delgass1-1/+2
oops if a map wasn't found (e.g. XFree86 Bugzilla #108)
2003-04-17Fix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue).David Dawes1-0/+4
2003-04-08Use list_entry() to get container struct from struct list_head pointers.Leif Delgass1-2/+2
Build fix for RedHat 9 kernel (5 args to remap_page_range()).
2003-03-28merged drm-filp-0-1-branchdrm-filp-1-20020328-mergeKeith Whitwell1-14/+15
2003-03-25linux merge for drmAlan Hourihane1-4/+4
2002-04-09Merged drmcommand-0-0-1drmcommand-0-0-1-20020409-mergeJens Owen1-0/+2
2002-02-14First pass of mesa-4-0 branch merge into trunk.trunk-20020221mesa-4-0-20020214-mergeDavid Dawes1-34/+282
2001-05-03Make SiS driver compile with the new templated format. Not tested. minorAlan Hourihane1-4/+0
cleanups
2001-03-14Merged sarea-1-0-0sarea-1-0-0-20010314-mergefull-1-0-0-20010315-headKevin E Martin1-2/+19
2001-02-16- Clean up the way customization of the templates is done.ati-5-0-1-20010220-headGareth Hughes1-197/+29
- 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 Hughes1-166/+69
2001-01-04Sync with Linux 2.4.0-prereleaseRik Faith1-1/+1
2000-09-29Audit calls to schedule() Remove tags from files shared with Linux kernelRik Faith1-3/+2
tree Remove debugging statements to make debugging more useful Other minor cleanups in preparation for sync with Linux 2.4.0-test9-pre7
2000-09-27Merged the mga-lock-debug-0-2-0-branch with the trunk. This includesJeff Hartmann1-1/+1
several fixes including: (Jeff) Really disable multitexture (Broken since Mesa 3.4 integration.) (Jeff) Various changes in mga_state.c in the kernel module, which includes a fix to the bug where the first OGL application hangs the machine w/out rendering anything. This also includes defines for the warp registers so they are easily human readable. (Rik and Jeff) Fixed all the schedule loops in the kernel to look like they are supposed too. (Jeff) Configurable agp modes: Add the option "AGPMode2x" or "AGPMode4x" to your XF86Config file. (Rik) Various cleanups to the mga kernel driver to make it easier to read and debug. (Rik) Removed alot of DRM_DEBUG statements from the kernel driver.
2000-09-06Sync with 2.4.0-test8-pre5 kernel.Gareth Hughes1-4/+8
2000-08-28Add compatibility header file to make Linux 2.4.0 kernel patches cleaner.Rik Faith1-2/+1
2000-08-26Sync with Linux 2.4.0-test7 Add signal blocking support to all driversRik Faith1-0/+10
(using control-z on a running direct-rendering client should work now)
2000-06-13Unify code with kernel: Change some spacing in comments Add #includeRik Faith1-1/+1
<linux/config.h> to all *_drv.c files
2000-06-08Merged glxmisc-3-0-0glxmisc-3-0-0-20000608-mergeBrian Paul1-3/+4
2000-06-05Include new updated gamma support.Alan Hourihane1-4/+26
2000-03-15Import of XFree86 4.0X_4_0Jeff Hartmann1-2/+1
1999-12-05First DRI release of 3dfx driver.Daryll Strauss1-0/+802