blob: 25c720454017e69a004fccfd7efe8147cdf60b46 [file] [log] [blame]
Maxime Ripard9026e0d2015-10-29 09:36:23 +01001
Dave Airliec0e09202008-05-29 10:09:59 +10002# 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
David Herrmann9f50bd82014-08-29 12:12:27 +02005drm-y := drm_auth.o drm_bufs.o drm_cache.o \
Daniel Vetter8f879192010-08-23 22:53:31 +02006 drm_context.o drm_dma.o \
David Herrmannec8f1122014-07-23 14:14:53 +02007 drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
Dave Airlie21d70352014-08-06 17:24:25 +10008 drm_lock.o drm_memory.o drm_drv.o drm_vm.o \
Daniel Vettera7fb8a22015-09-09 16:45:52 +02009 drm_scatter.o drm_pci.o \
Daniel Vetter7a6e0da2011-10-25 23:19:27 +020010 drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \
Laurent Pinchartae4df112016-06-09 12:54:08 +030011 drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
Jesse Barnesac2874b2010-07-01 16:47:31 -070012 drm_info.o drm_debugfs.o drm_encoder_slave.o \
Ville Syrjälä3512f972013-04-24 18:52:34 +030013 drm_trace_points.o drm_global.o drm_prime.o \
Rob Clark51fd3712013-11-19 12:10:12 -050014 drm_rect.o drm_vma_manager.o drm_flip_work.o \
Daniel Vetter7520a272016-08-15 16:07:02 +020015 drm_modeset_lock.o drm_atomic.o drm_bridge.o \
Daniel Vetter321a95a2016-08-29 10:27:49 +020016 drm_framebuffer.o drm_connector.o drm_blend.o \
Daniel Vetter43968d72016-09-21 10:59:24 +020017 drm_encoder.o drm_mode_object.o drm_property.o \
Daniel Vetterf1e2f662016-09-21 10:59:28 +020018 drm_plane.o drm_color_mgmt.o
Dave Airliec0e09202008-05-29 10:09:59 +100019
20drm-$(CONFIG_COMPAT) += drm_ioc32.o
Sascha Hauerb9d47452012-06-27 15:30:18 +020021drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
James Hogandff98e52012-11-23 11:12:10 +000022drm-$(CONFIG_PCI) += ati_pcigart.o
Thierry Redingaead40e2013-08-30 13:36:43 +020023drm-$(CONFIG_DRM_PANEL) += drm_panel.o
Russell King7e435aa2014-06-15 11:07:12 +010024drm-$(CONFIG_OF) += drm_of.o
Daniel Vettera7fb8a22015-09-09 16:45:52 +020025drm-$(CONFIG_AGP) += drm_agpsupport.o
Dave Airliec0e09202008-05-29 10:09:59 +100026
Daniel Vetter04381b92014-06-03 19:30:45 +020027drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
Rafael Antognolli70412cf2016-01-21 15:10:18 -080028 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
Noralf Trønnes5b809072016-06-10 16:55:59 +020029 drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
Daniel Vetter52a9fcd2016-08-12 22:48:51 +020030 drm_simple_kms_helper.o drm_modeset_helper.o
Rafael Antognolli70412cf2016-01-21 15:10:18 -080031
Carsten Emdeda0df922012-03-18 22:37:33 +010032drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Archit Tanejaa03fdcb2015-08-05 12:28:57 +053033drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020034drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Rafael Antognollie94cb372016-01-21 15:10:19 -080035drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
Dave Airlie13a81952009-09-07 15:45:33 +100036
Dave Airlie6fcefd52009-09-08 11:08:32 +100037obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100038
Jesse Barnesac2874b2010-07-01 16:47:31 -070039CFLAGS_drm_trace_points.o := -I$(src)
40
Dave Airliec0e09202008-05-29 10:09:59 +100041obj-$(CONFIG_DRM) += drm.o
Andrzej Hajda068a0022013-12-04 16:35:12 +010042obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
Liviu Dudau8e22d792015-04-02 19:48:39 +010043obj-$(CONFIG_DRM_ARM) += arm/
Jerome Glisse176f6132009-06-22 18:16:13 +020044obj-$(CONFIG_DRM_TTM) += ttm/
Dave Airliec0e09202008-05-29 10:09:59 +100045obj-$(CONFIG_DRM_TDFX) += tdfx/
46obj-$(CONFIG_DRM_R128) += r128/
Oded Gabbay611a03d2014-12-21 15:21:41 +020047obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
Dave Airliec0e09202008-05-29 10:09:59 +100048obj-$(CONFIG_DRM_RADEON)+= radeon/
Alex Deucherd38ceaf2015-04-20 16:55:21 -040049obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
Dave Airliec0e09202008-05-29 10:09:59 +100050obj-$(CONFIG_DRM_MGA) += mga/
51obj-$(CONFIG_DRM_I810) += i810/
Chris Wilsonc58305a2016-08-19 16:54:28 +010052obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010053obj-$(CONFIG_DRM_MGAG200) += mgag200/
Eric Anholtc8b75bc2015-03-02 13:01:12 -080054obj-$(CONFIG_DRM_VC4) += vc4/
Dave Airlief9aa76a2012-04-17 14:12:29 +010055obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
Dave Airliec0e09202008-05-29 10:09:59 +100056obj-$(CONFIG_DRM_SIS) += sis/
57obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000058obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100059obj-$(CONFIG_DRM_VIA) +=via/
Zach Reizner502e95c2015-03-04 16:33:41 -080060obj-$(CONFIG_DRM_VGEM) += vgem/
Ben Skeggs6ee73862009-12-11 19:24:15 +100061obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090062obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Mark Yao2048e322014-08-22 18:36:26 +080063obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
Alan Cox91c75492011-11-03 18:22:48 +000064obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100065obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000066obj-$(CONFIG_DRM_AST) += ast/
Russell King96f60e32012-08-15 13:59:49 +010067obj-$(CONFIG_DRM_ARMADA) += armada/
Boris Brezillon1a396782015-01-06 11:13:28 +010068obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/
Laurent Pinchart4bf8e192013-06-19 13:54:11 +020069obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
Laurent Pinchart51c13272012-04-26 13:53:59 +020070obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Tomi Valkeinen9960aa72015-12-09 20:26:00 +020071obj-y += omapdrm/
Maxime Ripard9026e0d2015-10-29 09:36:23 +010072obj-$(CONFIG_DRM_SUN4I) += sun4i/
Jyri Sarhac87d24532015-02-18 12:26:50 +020073obj-y += tilcdc/
Dave Airlief64122c2013-02-25 14:47:55 +100074obj-$(CONFIG_DRM_QXL) += qxl/
Gerd Hoffmann0a6659b2013-12-17 18:04:46 +010075obj-$(CONFIG_DRM_BOCHS) += bochs/
Dave Airliedc5698e2013-09-09 10:02:56 +100076obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
Rob Clarkc8afe682013-06-26 12:44:06 -040077obj-$(CONFIG_DRM_MSM) += msm/
Thierry Redingdee82682013-10-09 10:32:49 +020078obj-$(CONFIG_DRM_TEGRA) += tegra/
Benjamin Gaignardf2cb3142014-07-30 18:20:56 +020079obj-$(CONFIG_DRM_STI) += sti/
Philipp Zabel6556f7f2014-11-24 16:33:34 +010080obj-$(CONFIG_DRM_IMX) += imx/
CK Hu119f5172016-01-04 18:36:34 +010081obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
Ben Skeggs6ee73862009-12-11 19:24:15 +100082obj-y += i2c/
Thierry Reding280921d2013-08-30 15:10:14 +020083obj-y += panel/
Sean Paula9fe7132014-02-24 19:31:24 +090084obj-y += bridge/
Jianwei Wang109eee22015-08-19 22:19:49 -040085obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
The etnaviv authorsa8c21a52015-12-03 18:21:29 +010086obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
Carlos Palminha51dacf22016-02-19 15:30:26 +030087obj-$(CONFIG_DRM_ARCPGU)+= arc/
Xinliang Liu23e7b2a2015-10-09 18:00:56 +080088obj-y += hisilicon/