blob: 6f58c81cfcbcb073065bf29889c9bfce73cde2ae [file] [log] [blame]
Dave Airliec0e09202008-05-29 10:09:59 +10001#
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
5ccflags-y := -Iinclude/drm
6
Pauli Nieminen7a9f0dd2010-02-01 19:11:15 +02007drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
Daniel Vetter8f879192010-08-23 22:53:31 +02008 drm_context.o drm_dma.o \
Eric Anholt673a3942008-07-30 12:06:12 -07009 drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
Dave Airliec0e09202008-05-29 10:09:59 +100010 drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
James Hogandff98e52012-11-23 11:12:10 +000011 drm_agpsupport.o drm_scatter.o drm_pci.o \
Daniel Vetter7a6e0da2011-10-25 23:19:27 +020012 drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \
Dave Airlie13a81952009-09-07 15:45:33 +100013 drm_crtc.o drm_modes.o drm_edid.o \
Jesse Barnesac2874b2010-07-01 16:47:31 -070014 drm_info.o drm_debugfs.o drm_encoder_slave.o \
Dave Airlie32488772011-11-25 15:21:02 +000015 drm_trace_points.o drm_global.o drm_prime.o
Dave Airliec0e09202008-05-29 10:09:59 +100016
17drm-$(CONFIG_COMPAT) += drm_ioc32.o
Sascha Hauerb9d47452012-06-27 15:30:18 +020018drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
James Hogandff98e52012-11-23 11:12:10 +000019drm-$(CONFIG_PCI) += ati_pcigart.o
Dave Airliec0e09202008-05-29 10:09:59 +100020
Dave Airlie9c1dfc52012-03-20 06:59:29 +000021drm-usb-y := drm_usb.o
22
Daniel Vetter00ae9a42012-10-18 10:15:23 +020023drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_helper.o
Carsten Emdeda0df922012-03-18 22:37:33 +010024drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020025drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100026
Dave Airlie6fcefd52009-09-08 11:08:32 +100027obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100028
Jesse Barnesac2874b2010-07-01 16:47:31 -070029CFLAGS_drm_trace_points.o := -I$(src)
30
Dave Airliec0e09202008-05-29 10:09:59 +100031obj-$(CONFIG_DRM) += drm.o
Dave Airlie9c1dfc52012-03-20 06:59:29 +000032obj-$(CONFIG_DRM_USB) += drm_usb.o
Jerome Glisse176f6132009-06-22 18:16:13 +020033obj-$(CONFIG_DRM_TTM) += ttm/
Dave Airliec0e09202008-05-29 10:09:59 +100034obj-$(CONFIG_DRM_TDFX) += tdfx/
35obj-$(CONFIG_DRM_R128) += r128/
36obj-$(CONFIG_DRM_RADEON)+= radeon/
37obj-$(CONFIG_DRM_MGA) += mga/
38obj-$(CONFIG_DRM_I810) += i810/
Dave Airliec0e09202008-05-29 10:09:59 +100039obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010040obj-$(CONFIG_DRM_MGAG200) += mgag200/
Dave Airlief9aa76a2012-04-17 14:12:29 +010041obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
Dave Airliec0e09202008-05-29 10:09:59 +100042obj-$(CONFIG_DRM_SIS) += sis/
43obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000044obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100045obj-$(CONFIG_DRM_VIA) +=via/
Ben Skeggs6ee73862009-12-11 19:24:15 +100046obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090047obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Alan Cox91c75492011-11-03 18:22:48 +000048obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100049obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000050obj-$(CONFIG_DRM_AST) += ast/
Laurent Pinchart51c13272012-04-26 13:53:59 +020051obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Thierry Redingd8f4a9e2012-11-15 21:28:22 +000052obj-$(CONFIG_DRM_TEGRA) += tegra/
Ben Skeggs6ee73862009-12-11 19:24:15 +100053obj-y += i2c/