kernel_optimize_test/drivers/char/drm
Eric Anholt 6c340eac02 drm: Replace filp in ioctl arguments with drm_file *file_priv.
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 everyth
on Linux dereferenced filp to get file_priv anyway, while only the mmap ioct
went the other direction.

Signed-off-by: Dave Airlie <airlied@linux.ie>
2007-10-15 10:38:20 +10:00
..
ati_pcigart.c
drm_agpsupport.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_auth.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_bufs.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_context.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_core.h
drm_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_drawable.c
drm_drv.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_fops.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_ioctl.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_irq.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_lock.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_memory_debug.h
drm_memory.c
drm_memory.h
drm_mm.c
drm_os_linux.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_pci.c
drm_pciids.h
drm_proc.c
drm_sarea.h
drm_scatter.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysfs.c
drm_vm.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm.h
drmP.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i810_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i810_drm.h
i810_drv.c
i810_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i830_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i830_drm.h
i830_drv.c
i830_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i830_irq.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i915_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i915_drm.h
i915_drv.c
i915_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i915_ioc32.c
i915_irq.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
i915_mem.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
Kconfig
Makefile
mga_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
mga_drm.h
mga_drv.c
mga_drv.h
mga_ioc32.c
mga_irq.c
mga_state.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
mga_ucode.h
mga_warp.c
r128_cce.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
r128_drm.h
r128_drv.c
r128_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
r128_ioc32.c
r128_irq.c
r128_state.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
r300_cmdbuf.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
r300_reg.h
radeon_cp.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
radeon_drm.h
radeon_drv.c
radeon_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
radeon_ioc32.c
radeon_irq.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
radeon_mem.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
radeon_state.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
README.drm
savage_bci.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
savage_drm.h
savage_drv.c
savage_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
savage_state.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
sis_drm.h
sis_drv.c
sis_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
sis_mm.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
tdfx_drv.c
tdfx_drv.h
via_3d_reg.h
via_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
via_dmablit.c
via_dmablit.h
via_drm.h
via_drv.c
via_drv.h drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
via_irq.c
via_map.c
via_mm.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
via_verifier.c
via_verifier.h
via_video.c

************************************************************
* For the very latest on DRI development, please see:      *
*     http://dri.freedesktop.org/                          *
************************************************************

The Direct Rendering Manager (drm) is a device-independent kernel-level
device driver that provides support for the XFree86 Direct Rendering
Infrastructure (DRI).

The DRM supports the Direct Rendering Infrastructure (DRI) in four major
ways:

    1. The DRM provides synchronized access to the graphics hardware via
       the use of an optimized two-tiered lock.

    2. The DRM enforces the DRI security policy for access to the graphics
       hardware by only allowing authenticated X11 clients access to
       restricted regions of memory.

    3. The DRM provides a generic DMA engine, complete with multiple
       queues and the ability to detect the need for an OpenGL context
       switch.

    4. The DRM is extensible via the use of small device-specific modules
       that rely extensively on the API exported by the DRM module.


Documentation on the DRI is available from:
    http://dri.freedesktop.org/wiki/Documentation
    http://sourceforge.net/project/showfiles.php?group_id=387
    http://dri.sourceforge.net/doc/

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://dri.sourceforge.net/doc/drm_low_level.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/hardware_locking_low_level.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/security_low_level.html