Replace filp in ioctl arguments with drm_file *file_priv.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jul 2007 13:39:25 +0000 (06:39 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2007 20:39:45 +0000 (13:39 -0700)
commitc1119b1b092527fbb6950d0b5e51e076ddb00f29
tree1d4b0f26e40d572e4c92eb4ebde88e60b9b137e5
parent35de4868361ce1fb515cf33f27e6be4c59b07f89
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 everything
on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls
went the other direction.
59 files changed:
bsd-core/drmP.h
bsd-core/drm_bufs.c
bsd-core/drm_dma.c
bsd-core/drm_drv.c
bsd-core/drm_irq.c
bsd-core/drm_lock.c
linux-core/drmP.h
linux-core/drm_agpsupport.c
linux-core/drm_auth.c
linux-core/drm_bo.c
linux-core/drm_bufs.c
linux-core/drm_context.c
linux-core/drm_dma.c
linux-core/drm_drv.c
linux-core/drm_fence.c
linux-core/drm_fops.c
linux-core/drm_ioc32.c
linux-core/drm_ioctl.c
linux-core/drm_irq.c
linux-core/drm_lock.c
linux-core/drm_os_linux.h
linux-core/drm_scatter.c
linux-core/drm_vm.c
linux-core/i810_dma.c
linux-core/i810_drv.h
linux-core/sis_mm.c
linux-core/via_dmablit.c
linux-core/via_mm.c
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c
shared-core/i915_mem.c
shared-core/mach64_dma.c
shared-core/mach64_drv.h
shared-core/mach64_state.c
shared-core/mga_dma.c
shared-core/mga_state.c
shared-core/nouveau_drv.h
shared-core/nouveau_fifo.c
shared-core/nouveau_mem.c
shared-core/nouveau_notifier.c
shared-core/nouveau_object.c
shared-core/nouveau_state.c
shared-core/nv50_instmem.c
shared-core/r128_cce.c
shared-core/r128_drv.h
shared-core/r128_state.c
shared-core/r300_cmdbuf.c
shared-core/radeon_cp.c
shared-core/radeon_drv.h
shared-core/radeon_irq.c
shared-core/radeon_mem.c
shared-core/radeon_state.c
shared-core/savage_bci.c
shared-core/savage_drv.h
shared-core/savage_state.c
shared-core/sis_drv.h
shared-core/via_dma.c
shared-core/via_drv.h