Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jul 2007 00:11:11 +0000 (17:11 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 21 Jul 2007 01:16:42 +0000 (18:16 -0700)
commit5b38e134163cc375e91424c4688cc9328c6e9082
tree3930e659e99aa4c5c319aaca8cffa041e9087e62
parentc1119b1b092527fbb6950d0b5e51e076ddb00f29
Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.

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.
73 files changed:
bsd-core/drmP.h
bsd-core/drm_agpsupport.c
bsd-core/drm_auth.c
bsd-core/drm_bufs.c
bsd-core/drm_context.c
bsd-core/drm_dma.c
bsd-core/drm_drawable.c
bsd-core/drm_drv.c
bsd-core/drm_ioctl.c
bsd-core/drm_irq.c
bsd-core/drm_lock.c
bsd-core/drm_scatter.c
bsd-core/drm_vm.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_drawable.c
linux-core/drm_drv.c
linux-core/drm_fence.c
linux-core/drm_fops.c
linux-core/drm_ioctl.c
linux-core/drm_irq.c
linux-core/drm_lock.c
linux-core/drm_memory_debug.c
linux-core/drm_memory_debug.h
linux-core/drm_objects.h
linux-core/drm_os_linux.h
linux-core/drm_scatter.c
linux-core/ffb_context.c
linux-core/ffb_drv.c
linux-core/ffb_drv.h
linux-core/i810_dma.c
linux-core/i810_drm.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_drv.h
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/r128_cce.c
shared-core/r128_drv.h
shared-core/r128_state.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_mm.c
shared-core/via_dma.c
shared-core/via_drv.h
shared-core/via_irq.c
shared-core/via_map.c
shared-core/via_mm.c
shared-core/via_video.c