drm: reorganise drm tree to be more future proof.
authorDave Airlie <airlied@redhat.com>
Thu, 29 May 2008 00:09:59 +0000 (10:09 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Jul 2008 00:45:01 +0000 (10:45 +1000)
commitc0e09200dc0813972442e550a5905a132768e56c
treed38e635a30ff8b0a2b98b9d7f97cab1501f8209e
parentbce7f793daec3e65ec5c5705d2457b81fe7b5725
drm: reorganise drm tree to be more future proof.

With the coming of kernel based modesetting and the memory manager stuff,
the everything in one directory approach was getting very ugly and
starting to be unmanageable.

This restructures the drm along the lines of other kernel components.

It creates a drivers/gpu/drm directory and moves the hw drivers into
subdirectores. It moves the includes into an include/drm, and
sets up the unifdef for the userspace headers we should be exporting.

Signed-off-by: Dave Airlie <airlied@redhat.com>
222 files changed:
drivers/Makefile
drivers/char/Makefile
drivers/char/drm/Kconfig [deleted file]
drivers/char/drm/Makefile [deleted file]
drivers/char/drm/README.drm [deleted file]
drivers/char/drm/ati_pcigart.c [deleted file]
drivers/char/drm/drm.h [deleted file]
drivers/char/drm/drmP.h [deleted file]
drivers/char/drm/drm_agpsupport.c [deleted file]
drivers/char/drm/drm_auth.c [deleted file]
drivers/char/drm/drm_bufs.c [deleted file]
drivers/char/drm/drm_context.c [deleted file]
drivers/char/drm/drm_core.h [deleted file]
drivers/char/drm/drm_dma.c [deleted file]
drivers/char/drm/drm_drawable.c [deleted file]
drivers/char/drm/drm_drv.c [deleted file]
drivers/char/drm/drm_fops.c [deleted file]
drivers/char/drm/drm_hashtab.c [deleted file]
drivers/char/drm/drm_hashtab.h [deleted file]
drivers/char/drm/drm_ioc32.c [deleted file]
drivers/char/drm/drm_ioctl.c [deleted file]
drivers/char/drm/drm_irq.c [deleted file]
drivers/char/drm/drm_lock.c [deleted file]
drivers/char/drm/drm_memory.c [deleted file]
drivers/char/drm/drm_memory.h [deleted file]
drivers/char/drm/drm_memory_debug.h [deleted file]
drivers/char/drm/drm_mm.c [deleted file]
drivers/char/drm/drm_os_linux.h [deleted file]
drivers/char/drm/drm_pci.c [deleted file]
drivers/char/drm/drm_pciids.h [deleted file]
drivers/char/drm/drm_proc.c [deleted file]
drivers/char/drm/drm_sarea.h [deleted file]
drivers/char/drm/drm_scatter.c [deleted file]
drivers/char/drm/drm_sman.c [deleted file]
drivers/char/drm/drm_sman.h [deleted file]
drivers/char/drm/drm_stub.c [deleted file]
drivers/char/drm/drm_sysfs.c [deleted file]
drivers/char/drm/drm_vm.c [deleted file]
drivers/char/drm/i810_dma.c [deleted file]
drivers/char/drm/i810_drm.h [deleted file]
drivers/char/drm/i810_drv.c [deleted file]
drivers/char/drm/i810_drv.h [deleted file]
drivers/char/drm/i830_dma.c [deleted file]
drivers/char/drm/i830_drm.h [deleted file]
drivers/char/drm/i830_drv.c [deleted file]
drivers/char/drm/i830_drv.h [deleted file]
drivers/char/drm/i830_irq.c [deleted file]
drivers/char/drm/i915_dma.c [deleted file]
drivers/char/drm/i915_drm.h [deleted file]
drivers/char/drm/i915_drv.c [deleted file]
drivers/char/drm/i915_drv.h [deleted file]
drivers/char/drm/i915_ioc32.c [deleted file]
drivers/char/drm/i915_irq.c [deleted file]
drivers/char/drm/i915_mem.c [deleted file]
drivers/char/drm/mga_dma.c [deleted file]
drivers/char/drm/mga_drm.h [deleted file]
drivers/char/drm/mga_drv.c [deleted file]
drivers/char/drm/mga_drv.h [deleted file]
drivers/char/drm/mga_ioc32.c [deleted file]
drivers/char/drm/mga_irq.c [deleted file]
drivers/char/drm/mga_state.c [deleted file]
drivers/char/drm/mga_ucode.h [deleted file]
drivers/char/drm/mga_warp.c [deleted file]
drivers/char/drm/r128_cce.c [deleted file]
drivers/char/drm/r128_drm.h [deleted file]
drivers/char/drm/r128_drv.c [deleted file]
drivers/char/drm/r128_drv.h [deleted file]
drivers/char/drm/r128_ioc32.c [deleted file]
drivers/char/drm/r128_irq.c [deleted file]
drivers/char/drm/r128_state.c [deleted file]
drivers/char/drm/r300_cmdbuf.c [deleted file]
drivers/char/drm/r300_reg.h [deleted file]
drivers/char/drm/radeon_cp.c [deleted file]
drivers/char/drm/radeon_drm.h [deleted file]
drivers/char/drm/radeon_drv.c [deleted file]
drivers/char/drm/radeon_drv.h [deleted file]
drivers/char/drm/radeon_ioc32.c [deleted file]
drivers/char/drm/radeon_irq.c [deleted file]
drivers/char/drm/radeon_mem.c [deleted file]
drivers/char/drm/radeon_microcode.h [deleted file]
drivers/char/drm/radeon_state.c [deleted file]
drivers/char/drm/savage_bci.c [deleted file]
drivers/char/drm/savage_drm.h [deleted file]
drivers/char/drm/savage_drv.c [deleted file]
drivers/char/drm/savage_drv.h [deleted file]
drivers/char/drm/savage_state.c [deleted file]
drivers/char/drm/sis_drm.h [deleted file]
drivers/char/drm/sis_drv.c [deleted file]
drivers/char/drm/sis_drv.h [deleted file]
drivers/char/drm/sis_mm.c [deleted file]
drivers/char/drm/tdfx_drv.c [deleted file]
drivers/char/drm/tdfx_drv.h [deleted file]
drivers/char/drm/via_3d_reg.h [deleted file]
drivers/char/drm/via_dma.c [deleted file]
drivers/char/drm/via_dmablit.c [deleted file]
drivers/char/drm/via_dmablit.h [deleted file]
drivers/char/drm/via_drm.h [deleted file]
drivers/char/drm/via_drv.c [deleted file]
drivers/char/drm/via_drv.h [deleted file]
drivers/char/drm/via_irq.c [deleted file]
drivers/char/drm/via_map.c [deleted file]
drivers/char/drm/via_mm.c [deleted file]
drivers/char/drm/via_verifier.c [deleted file]
drivers/char/drm/via_verifier.h [deleted file]
drivers/char/drm/via_video.c [deleted file]
drivers/gpu/Makefile [new file with mode: 0644]
drivers/gpu/drm/Kconfig [new file with mode: 0644]
drivers/gpu/drm/Makefile [new file with mode: 0644]
drivers/gpu/drm/README.drm [new file with mode: 0644]
drivers/gpu/drm/ati_pcigart.c [new file with mode: 0644]
drivers/gpu/drm/drm_agpsupport.c [new file with mode: 0644]
drivers/gpu/drm/drm_auth.c [new file with mode: 0644]
drivers/gpu/drm/drm_bufs.c [new file with mode: 0644]
drivers/gpu/drm/drm_context.c [new file with mode: 0644]
drivers/gpu/drm/drm_dma.c [new file with mode: 0644]
drivers/gpu/drm/drm_drawable.c [new file with mode: 0644]
drivers/gpu/drm/drm_drv.c [new file with mode: 0644]
drivers/gpu/drm/drm_fops.c [new file with mode: 0644]
drivers/gpu/drm/drm_hashtab.c [new file with mode: 0644]
drivers/gpu/drm/drm_ioc32.c [new file with mode: 0644]
drivers/gpu/drm/drm_ioctl.c [new file with mode: 0644]
drivers/gpu/drm/drm_irq.c [new file with mode: 0644]
drivers/gpu/drm/drm_lock.c [new file with mode: 0644]
drivers/gpu/drm/drm_memory.c [new file with mode: 0644]
drivers/gpu/drm/drm_mm.c [new file with mode: 0644]
drivers/gpu/drm/drm_pci.c [new file with mode: 0644]
drivers/gpu/drm/drm_proc.c [new file with mode: 0644]
drivers/gpu/drm/drm_scatter.c [new file with mode: 0644]
drivers/gpu/drm/drm_sman.c [new file with mode: 0644]
drivers/gpu/drm/drm_stub.c [new file with mode: 0644]
drivers/gpu/drm/drm_sysfs.c [new file with mode: 0644]
drivers/gpu/drm/drm_vm.c [new file with mode: 0644]
drivers/gpu/drm/i810/Makefile [new file with mode: 0644]
drivers/gpu/drm/i810/i810_dma.c [new file with mode: 0644]
drivers/gpu/drm/i810/i810_drv.c [new file with mode: 0644]
drivers/gpu/drm/i810/i810_drv.h [new file with mode: 0644]
drivers/gpu/drm/i830/Makefile [new file with mode: 0644]
drivers/gpu/drm/i830/i830_dma.c [new file with mode: 0644]
drivers/gpu/drm/i830/i830_drv.c [new file with mode: 0644]
drivers/gpu/drm/i830/i830_drv.h [new file with mode: 0644]
drivers/gpu/drm/i830/i830_irq.c [new file with mode: 0644]
drivers/gpu/drm/i915/Makefile [new file with mode: 0644]
drivers/gpu/drm/i915/i915_dma.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_drv.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_drv.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_ioc32.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_irq.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_mem.c [new file with mode: 0644]
drivers/gpu/drm/mga/Makefile [new file with mode: 0644]
drivers/gpu/drm/mga/mga_dma.c [new file with mode: 0644]
drivers/gpu/drm/mga/mga_drv.c [new file with mode: 0644]
drivers/gpu/drm/mga/mga_drv.h [new file with mode: 0644]
drivers/gpu/drm/mga/mga_ioc32.c [new file with mode: 0644]
drivers/gpu/drm/mga/mga_irq.c [new file with mode: 0644]
drivers/gpu/drm/mga/mga_state.c [new file with mode: 0644]
drivers/gpu/drm/mga/mga_ucode.h [new file with mode: 0644]
drivers/gpu/drm/mga/mga_warp.c [new file with mode: 0644]
drivers/gpu/drm/r128/Makefile [new file with mode: 0644]
drivers/gpu/drm/r128/r128_cce.c [new file with mode: 0644]
drivers/gpu/drm/r128/r128_drv.c [new file with mode: 0644]
drivers/gpu/drm/r128/r128_drv.h [new file with mode: 0644]
drivers/gpu/drm/r128/r128_ioc32.c [new file with mode: 0644]
drivers/gpu/drm/r128/r128_irq.c [new file with mode: 0644]
drivers/gpu/drm/r128/r128_state.c [new file with mode: 0644]
drivers/gpu/drm/radeon/Makefile [new file with mode: 0644]
drivers/gpu/drm/radeon/r300_cmdbuf.c [new file with mode: 0644]
drivers/gpu/drm/radeon/r300_reg.h [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_cp.c [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_drv.c [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_drv.h [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_ioc32.c [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_irq.c [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_mem.c [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_microcode.h [new file with mode: 0644]
drivers/gpu/drm/radeon/radeon_state.c [new file with mode: 0644]
drivers/gpu/drm/savage/Makefile [new file with mode: 0644]
drivers/gpu/drm/savage/savage_bci.c [new file with mode: 0644]
drivers/gpu/drm/savage/savage_drv.c [new file with mode: 0644]
drivers/gpu/drm/savage/savage_drv.h [new file with mode: 0644]
drivers/gpu/drm/savage/savage_state.c [new file with mode: 0644]
drivers/gpu/drm/sis/Makefile [new file with mode: 0644]
drivers/gpu/drm/sis/sis_drv.c [new file with mode: 0644]
drivers/gpu/drm/sis/sis_drv.h [new file with mode: 0644]
drivers/gpu/drm/sis/sis_mm.c [new file with mode: 0644]
drivers/gpu/drm/tdfx/Makefile [new file with mode: 0644]
drivers/gpu/drm/tdfx/tdfx_drv.c [new file with mode: 0644]
drivers/gpu/drm/tdfx/tdfx_drv.h [new file with mode: 0644]
drivers/gpu/drm/via/Makefile [new file with mode: 0644]
drivers/gpu/drm/via/via_3d_reg.h [new file with mode: 0644]
drivers/gpu/drm/via/via_dma.c [new file with mode: 0644]
drivers/gpu/drm/via/via_dmablit.c [new file with mode: 0644]
drivers/gpu/drm/via/via_dmablit.h [new file with mode: 0644]
drivers/gpu/drm/via/via_drv.c [new file with mode: 0644]
drivers/gpu/drm/via/via_drv.h [new file with mode: 0644]
drivers/gpu/drm/via/via_irq.c [new file with mode: 0644]
drivers/gpu/drm/via/via_map.c [new file with mode: 0644]
drivers/gpu/drm/via/via_mm.c [new file with mode: 0644]
drivers/gpu/drm/via/via_verifier.c [new file with mode: 0644]
drivers/gpu/drm/via/via_verifier.h [new file with mode: 0644]
drivers/gpu/drm/via/via_video.c [new file with mode: 0644]
drivers/video/Kconfig
include/Kbuild
include/drm/Kbuild [new file with mode: 0644]
include/drm/drm.h [new file with mode: 0644]
include/drm/drmP.h [new file with mode: 0644]
include/drm/drm_core.h [new file with mode: 0644]
include/drm/drm_hashtab.h [new file with mode: 0644]
include/drm/drm_memory.h [new file with mode: 0644]
include/drm/drm_memory_debug.h [new file with mode: 0644]
include/drm/drm_os_linux.h [new file with mode: 0644]
include/drm/drm_pciids.h [new file with mode: 0644]
include/drm/drm_sarea.h [new file with mode: 0644]
include/drm/drm_sman.h [new file with mode: 0644]
include/drm/i810_drm.h [new file with mode: 0644]
include/drm/i830_drm.h [new file with mode: 0644]
include/drm/i915_drm.h [new file with mode: 0644]
include/drm/mga_drm.h [new file with mode: 0644]
include/drm/r128_drm.h [new file with mode: 0644]
include/drm/radeon_drm.h [new file with mode: 0644]
include/drm/savage_drm.h [new file with mode: 0644]
include/drm/sis_drm.h [new file with mode: 0644]
include/drm/via_drm.h [new file with mode: 0644]