diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 13:32:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 13:32:24 -0700 |
commit | c142bda458a9c81097238800e1bd8eeeea09913d (patch) | |
tree | a412321f62cbb90cae831d7f2dea026cbd3c958c /drivers | |
parent | b5cf43c47b05c8deb10f9674d541dddbdec0e341 (diff) | |
parent | c0e09200dc0813972442e550a5905a132768e56c (diff) |
Merge branch 'drm-reorg' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-reorg' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
drm: reorganise drm tree to be more future proof.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Makefile | 1 | ||||
-rw-r--r-- | drivers/char/Makefile | 1 | ||||
-rw-r--r-- | drivers/char/drm/Makefile | 40 | ||||
-rw-r--r-- | drivers/char/drm/drm.h | 694 | ||||
-rw-r--r-- | drivers/char/drm/drmP.h | 1153 | ||||
-rw-r--r-- | drivers/char/drm/drm_core.h | 34 | ||||
-rw-r--r-- | drivers/char/drm/drm_hashtab.h | 67 | ||||
-rw-r--r-- | drivers/char/drm/drm_memory.h | 61 | ||||
-rw-r--r-- | drivers/char/drm/drm_memory_debug.h | 309 | ||||
-rw-r--r-- | drivers/char/drm/drm_os_linux.h | 108 | ||||
-rw-r--r-- | drivers/char/drm/drm_pciids.h | 415 | ||||
-rw-r--r-- | drivers/char/drm/drm_sarea.h | 84 | ||||
-rw-r--r-- | drivers/char/drm/drm_sman.h | 176 | ||||
-rw-r--r-- | drivers/char/drm/i810_drm.h | 281 | ||||
-rw-r--r-- | drivers/char/drm/i830_drm.h | 342 | ||||
-rw-r--r-- | drivers/char/drm/i915_drm.h | 270 | ||||
-rw-r--r-- | drivers/char/drm/mga_drm.h | 417 | ||||
-rw-r--r-- | drivers/char/drm/r128_drm.h | 326 | ||||
-rw-r--r-- | drivers/char/drm/radeon_drm.h | 749 | ||||
-rw-r--r-- | drivers/char/drm/savage_drm.h | 210 | ||||
-rw-r--r-- | drivers/char/drm/sis_drm.h | 67 | ||||
-rw-r--r-- | drivers/char/drm/via_drm.h | 275 | ||||
-rw-r--r-- | drivers/gpu/Makefile | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/Kconfig (renamed from drivers/char/drm/Kconfig) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/Makefile | 26 | ||||
-rw-r--r-- | drivers/gpu/drm/README.drm (renamed from drivers/char/drm/README.drm) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/ati_pcigart.c (renamed from drivers/char/drm/ati_pcigart.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_agpsupport.c (renamed from drivers/char/drm/drm_agpsupport.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_auth.c (renamed from drivers/char/drm/drm_auth.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_bufs.c (renamed from drivers/char/drm/drm_bufs.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_context.c (renamed from drivers/char/drm/drm_context.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_dma.c (renamed from drivers/char/drm/drm_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_drawable.c (renamed from drivers/char/drm/drm_drawable.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_drv.c (renamed from drivers/char/drm/drm_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_fops.c (renamed from drivers/char/drm/drm_fops.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_hashtab.c (renamed from drivers/char/drm/drm_hashtab.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_ioc32.c (renamed from drivers/char/drm/drm_ioc32.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_ioctl.c (renamed from drivers/char/drm/drm_ioctl.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_irq.c (renamed from drivers/char/drm/drm_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_lock.c (renamed from drivers/char/drm/drm_lock.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_memory.c (renamed from drivers/char/drm/drm_memory.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_mm.c (renamed from drivers/char/drm/drm_mm.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_pci.c (renamed from drivers/char/drm/drm_pci.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_proc.c (renamed from drivers/char/drm/drm_proc.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_scatter.c (renamed from drivers/char/drm/drm_scatter.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_sman.c (renamed from drivers/char/drm/drm_sman.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_stub.c (renamed from drivers/char/drm/drm_stub.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_sysfs.c (renamed from drivers/char/drm/drm_sysfs.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_vm.c (renamed from drivers/char/drm/drm_vm.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i810/Makefile | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/i810/i810_dma.c (renamed from drivers/char/drm/i810_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i810/i810_drv.c (renamed from drivers/char/drm/i810_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i810/i810_drv.h (renamed from drivers/char/drm/i810_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/Makefile | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/i830_dma.c (renamed from drivers/char/drm/i830_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/i830_drv.c (renamed from drivers/char/drm/i830_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/i830_drv.h (renamed from drivers/char/drm/i830_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/i830_irq.c (renamed from drivers/char/drm/i830_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/Makefile | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c (renamed from drivers/char/drm/i915_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c (renamed from drivers/char/drm/i915_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h (renamed from drivers/char/drm/i915_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_ioc32.c (renamed from drivers/char/drm/i915_ioc32.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c (renamed from drivers/char/drm/i915_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_mem.c (renamed from drivers/char/drm/i915_mem.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/Makefile | 11 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_dma.c (renamed from drivers/char/drm/mga_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_drv.c (renamed from drivers/char/drm/mga_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_drv.h (renamed from drivers/char/drm/mga_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_ioc32.c (renamed from drivers/char/drm/mga_ioc32.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_irq.c (renamed from drivers/char/drm/mga_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_state.c (renamed from drivers/char/drm/mga_state.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_ucode.h (renamed from drivers/char/drm/mga_ucode.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/mga/mga_warp.c (renamed from drivers/char/drm/mga_warp.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/Makefile | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_cce.c (renamed from drivers/char/drm/r128_cce.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_drv.c (renamed from drivers/char/drm/r128_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_drv.h (renamed from drivers/char/drm/r128_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_ioc32.c (renamed from drivers/char/drm/r128_ioc32.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_irq.c (renamed from drivers/char/drm/r128_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/r128/r128_state.c (renamed from drivers/char/drm/r128_state.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/Makefile | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r300_cmdbuf.c (renamed from drivers/char/drm/r300_cmdbuf.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r300_reg.h (renamed from drivers/char/drm/r300_reg.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cp.c (renamed from drivers/char/drm/radeon_cp.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c (renamed from drivers/char/drm/radeon_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.h (renamed from drivers/char/drm/radeon_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ioc32.c (renamed from drivers/char/drm/radeon_ioc32.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_irq.c (renamed from drivers/char/drm/radeon_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mem.c (renamed from drivers/char/drm/radeon_mem.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_microcode.h (renamed from drivers/char/drm/radeon_microcode.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_state.c (renamed from drivers/char/drm/radeon_state.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/savage/Makefile | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/savage/savage_bci.c (renamed from drivers/char/drm/savage_bci.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/savage/savage_drv.c (renamed from drivers/char/drm/savage_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/savage/savage_drv.h (renamed from drivers/char/drm/savage_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/savage/savage_state.c (renamed from drivers/char/drm/savage_state.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/sis/Makefile | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/sis/sis_drv.c (renamed from drivers/char/drm/sis_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/sis/sis_drv.h (renamed from drivers/char/drm/sis_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/sis/sis_mm.c (renamed from drivers/char/drm/sis_mm.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/tdfx/Makefile | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/tdfx/tdfx_drv.c (renamed from drivers/char/drm/tdfx_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/tdfx/tdfx_drv.h (renamed from drivers/char/drm/tdfx_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/Makefile | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_3d_reg.h (renamed from drivers/char/drm/via_3d_reg.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_dma.c (renamed from drivers/char/drm/via_dma.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_dmablit.c (renamed from drivers/char/drm/via_dmablit.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_dmablit.h (renamed from drivers/char/drm/via_dmablit.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_drv.c (renamed from drivers/char/drm/via_drv.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_drv.h (renamed from drivers/char/drm/via_drv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_irq.c (renamed from drivers/char/drm/via_irq.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_map.c (renamed from drivers/char/drm/via_map.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_mm.c (renamed from drivers/char/drm/via_mm.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_verifier.c (renamed from drivers/char/drm/via_verifier.c) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_verifier.h (renamed from drivers/char/drm/via_verifier.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/via/via_video.c (renamed from drivers/char/drm/via_video.c) | 0 | ||||
-rw-r--r-- | drivers/video/Kconfig | 2 |
118 files changed, 121 insertions, 6080 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index f65deda72d6..fda44679dff 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_PCI) += pci/ obj-$(CONFIG_PARISC) += parisc/ obj-$(CONFIG_RAPIDIO) += rapidio/ obj-y += video/ +obj-y += gpu/ obj-$(CONFIG_ACPI) += acpi/ # PnP must come after ACPI since it will eventually need to check if acpi # was used and do nothing if so diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 4c1c584e9eb..81630a68475 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile @@ -101,7 +101,6 @@ obj-$(CONFIG_TELCLOCK) += tlclk.o obj-$(CONFIG_MWAVE) += mwave/ obj-$(CONFIG_AGP) += agp/ -obj-$(CONFIG_DRM) += drm/ obj-$(CONFIG_PCMCIA) += pcmcia/ obj-$(CONFIG_IPMI_HANDLER) += ipmi/ diff --git a/drivers/char/drm/Makefile b/drivers/char/drm/Makefile deleted file mode 100644 index 1283ded88ea..00000000000 --- a/drivers/char/drm/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# -# Makefile for the drm device driver. This driver provides support for the -# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. - -drm-objs := drm_auth.o drm_bufs.o drm_context.o drm_dma.o drm_drawable.o \ - drm_drv.o drm_fops.o drm_ioctl.o drm_irq.o \ - drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ - drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ - drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o - -tdfx-objs := tdfx_drv.o -r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o -mga-objs := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o -i810-objs := i810_drv.o i810_dma.o -i830-objs := i830_drv.o i830_dma.o i830_irq.o -i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o -radeon-objs := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o radeon_irq.o r300_cmdbuf.o -sis-objs := sis_drv.o sis_mm.o -savage-objs := savage_drv.o savage_bci.o savage_state.o -via-objs := via_irq.o via_drv.o via_map.o via_mm.o via_dma.o via_verifier.o via_video.o via_dmablit.o - -ifeq ($(CONFIG_COMPAT),y) -drm-objs += drm_ioc32.o -radeon-objs += radeon_ioc32.o -mga-objs += mga_ioc32.o -r128-objs += r128_ioc32.o -i915-objs += i915_ioc32.o -endif - -obj-$(CONFIG_DRM) += drm.o -obj-$(CONFIG_DRM_TDFX) += tdfx.o -obj-$(CONFIG_DRM_R128) += r128.o -obj-$(CONFIG_DRM_RADEON)+= radeon.o -obj-$(CONFIG_DRM_MGA) += mga.o -obj-$(CONFIG_DRM_I810) += i810.o -obj-$(CONFIG_DRM_I830) += i830.o -obj-$(CONFIG_DRM_I915) += i915.o -obj-$(CONFIG_DRM_SIS) += sis.o -obj-$(CONFIG_DRM_SAVAGE)+= savage.o -obj-$(CONFIG_DRM_VIA) +=via.o |