blob: c3cf64ce28919e8cef44cb05c4578b079cf08aca [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
David Herrmann9f50bd82014-08-29 12:12:27 +02007drm-y := drm_auth.o drm_bufs.o drm_cache.o \
Daniel Vetter8f879192010-08-23 22:53:31 +02008 drm_context.o drm_dma.o \
David Herrmannec8f1122014-07-23 14:14:53 +02009 drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
Dave Airlie21d70352014-08-06 17:24:25 +100010 drm_lock.o drm_memory.o drm_drv.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 \
Ville Syrjälä3512f972013-04-24 18:52:34 +030015 drm_trace_points.o drm_global.o drm_prime.o \
Rob Clark51fd3712013-11-19 12:10:12 -050016 drm_rect.o drm_vma_manager.o drm_flip_work.o \
Daniel Vettercc4ceb42014-07-25 21:30:38 +020017 drm_modeset_lock.o drm_atomic.o
Dave Airliec0e09202008-05-29 10:09:59 +100018
19drm-$(CONFIG_COMPAT) += drm_ioc32.o
Sascha Hauerb9d47452012-06-27 15:30:18 +020020drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
James Hogandff98e52012-11-23 11:12:10 +000021drm-$(CONFIG_PCI) += ati_pcigart.o
Thierry Redingaead40e2013-08-30 13:36:43 +020022drm-$(CONFIG_DRM_PANEL) += drm_panel.o
Russell King7e435aa2014-06-15 11:07:12 +010023drm-$(CONFIG_OF) += drm_of.o
Dave Airliec0e09202008-05-29 10:09:59 +100024
Daniel Vetter04381b92014-06-03 19:30:45 +020025drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
Daniel Vetterc2fcd272014-11-05 00:14:14 +010026 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o
Carsten Emdeda0df922012-03-18 22:37:33 +010027drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Daniel Vetter92b6f892013-10-08 17:44:47 +020028drm_kms_helper-$(CONFIG_DRM_KMS_FB_HELPER) += drm_fb_helper.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020029drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100030
Dave Airlie6fcefd52009-09-08 11:08:32 +100031obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100032
Jesse Barnesac2874b2010-07-01 16:47:31 -070033CFLAGS_drm_trace_points.o := -I$(src)
34
Dave Airliec0e09202008-05-29 10:09:59 +100035obj-$(CONFIG_DRM) += drm.o
Andrzej Hajda068a0022013-12-04 16:35:12 +010036obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
Jerome Glisse176f6132009-06-22 18:16:13 +020037obj-$(CONFIG_DRM_TTM) += ttm/
Dave Airliec0e09202008-05-29 10:09:59 +100038obj-$(CONFIG_DRM_TDFX) += tdfx/
39obj-$(CONFIG_DRM_R128) += r128/
40obj-$(CONFIG_DRM_RADEON)+= radeon/
41obj-$(CONFIG_DRM_MGA) += mga/
42obj-$(CONFIG_DRM_I810) += i810/
Dave Airliec0e09202008-05-29 10:09:59 +100043obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010044obj-$(CONFIG_DRM_MGAG200) += mgag200/
Dave Airlief9aa76a2012-04-17 14:12:29 +010045obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
Dave Airliec0e09202008-05-29 10:09:59 +100046obj-$(CONFIG_DRM_SIS) += sis/
47obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000048obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100049obj-$(CONFIG_DRM_VIA) +=via/
Ben Skeggs6ee73862009-12-11 19:24:15 +100050obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090051obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Alan Cox91c75492011-11-03 18:22:48 +000052obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100053obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000054obj-$(CONFIG_DRM_AST) += ast/
Russell King96f60e32012-08-15 13:59:49 +010055obj-$(CONFIG_DRM_ARMADA) += armada/
Laurent Pinchart4bf8e192013-06-19 13:54:11 +020056obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
Laurent Pinchart51c13272012-04-26 13:53:59 +020057obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Rob Clark8bb0daf2013-02-11 12:43:09 -050058obj-$(CONFIG_DRM_OMAP) += omapdrm/
Rob Clark16ea9752013-01-08 15:04:28 -060059obj-$(CONFIG_DRM_TILCDC) += tilcdc/
Dave Airlief64122c2013-02-25 14:47:55 +100060obj-$(CONFIG_DRM_QXL) += qxl/
Gerd Hoffmann0a6659b2013-12-17 18:04:46 +010061obj-$(CONFIG_DRM_BOCHS) += bochs/
Rob Clarkc8afe682013-06-26 12:44:06 -040062obj-$(CONFIG_DRM_MSM) += msm/
Thierry Redingdee82682013-10-09 10:32:49 +020063obj-$(CONFIG_DRM_TEGRA) += tegra/
Benjamin Gaignardf2cb3142014-07-30 18:20:56 +020064obj-$(CONFIG_DRM_STI) += sti/
Ben Skeggs6ee73862009-12-11 19:24:15 +100065obj-y += i2c/
Thierry Reding280921d2013-08-30 15:10:14 +020066obj-y += panel/
Sean Paula9fe7132014-02-24 19:31:24 +090067obj-y += bridge/