drm: Add support for platform devices to register as DRM devices
[linux-2.6.git] / drivers / gpu / drm / Makefile
1 #
2 # Makefile for the drm device driver.  This driver provides support for the
3 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
4
5 ccflags-y := -Iinclude/drm
6
7 drm-y       :=  drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
8                 drm_context.o drm_dma.o drm_drawable.o \
9                 drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
10                 drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
11                 drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
12                 drm_platform.o drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
13                 drm_crtc.o drm_modes.o drm_edid.o \
14                 drm_info.o drm_debugfs.o drm_encoder_slave.o
15
16 drm-$(CONFIG_COMPAT) += drm_ioc32.o
17
18 drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_i2c_helper.o
19
20 obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
21
22 obj-$(CONFIG_DRM)       += drm.o
23 obj-$(CONFIG_DRM_TTM)   += ttm/
24 obj-$(CONFIG_DRM_TDFX)  += tdfx/
25 obj-$(CONFIG_DRM_R128)  += r128/
26 obj-$(CONFIG_DRM_RADEON)+= radeon/
27 obj-$(CONFIG_DRM_MGA)   += mga/
28 obj-$(CONFIG_DRM_I810)  += i810/
29 obj-$(CONFIG_DRM_I830)  += i830/
30 obj-$(CONFIG_DRM_I915)  += i915/
31 obj-$(CONFIG_DRM_SIS)   += sis/
32 obj-$(CONFIG_DRM_SAVAGE)+= savage/
33 obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
34 obj-$(CONFIG_DRM_VIA)   +=via/
35 obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
36 obj-y                   += i2c/