blob: e5bf68b9c1714583f27606b12d3a1c5fa51edb81 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Maxime Ripard9026e0d2015-10-29 09:36:23 +01002
Dave Airliec0e09202008-05-29 10:09:59 +10003# Makefile for the drm device driver. This driver provides support for the
4# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
5
David Herrmann9f50bd82014-08-29 12:12:27 +02006drm-y := drm_auth.o drm_bufs.o drm_cache.o \
Daniel Vetter8f879192010-08-23 22:53:31 +02007 drm_context.o drm_dma.o \
Daniel Vetter9acdac62017-03-08 15:12:40 +01008 drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \
Benjamin Gaignard99c48e12017-01-04 10:12:56 +01009 drm_lock.o drm_memory.o drm_drv.o \
Daniel Vettera7fb8a22015-09-09 16:45:52 +020010 drm_scatter.o drm_pci.o \
Laurent Pinchart620f74f2016-12-13 21:24:34 +020011 drm_sysfs.o drm_hashtab.o drm_mm.o \
Laurent Pinchartae4df112016-06-09 12:54:08 +030012 drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
Tomeu Vizoso9edbf1f2016-10-06 17:21:06 +020013 drm_info.o drm_encoder_slave.o \
Ville Syrjälä3512f972013-04-24 18:52:34 +030014 drm_trace_points.o drm_global.o drm_prime.o \
Rob Clark51fd3712013-11-19 12:10:12 -050015 drm_rect.o drm_vma_manager.o drm_flip_work.o \
Daniel Vetter7520a272016-08-15 16:07:02 +020016 drm_modeset_lock.o drm_atomic.o drm_bridge.o \
Daniel Vetter321a95a2016-08-29 10:27:49 +020017 drm_framebuffer.o drm_connector.o drm_blend.o \
Daniel Vetter43968d72016-09-21 10:59:24 +020018 drm_encoder.o drm_mode_object.o drm_property.o \
Daniel Vetter1a02ea42016-11-14 12:58:16 +010019 drm_plane.o drm_color_mgmt.o drm_print.o \
Dave Airliee9083422017-04-04 13:26:24 +100020 drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
Keith Packard2ed077e2017-03-14 22:26:41 -070021 drm_syncobj.o drm_lease.o
Dave Airliec0e09202008-05-29 10:09:59 +100022
Chris Wilsona33d42d2016-12-22 08:36:08 +000023drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o
Benjamin Gaignard99c48e12017-01-04 10:12:56 +010024drm-$(CONFIG_DRM_VM) += drm_vm.o
Dave Airliec0e09202008-05-29 10:09:59 +100025drm-$(CONFIG_COMPAT) += drm_ioc32.o
Sascha Hauerb9d47452012-06-27 15:30:18 +020026drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
James Hogandff98e52012-11-23 11:12:10 +000027drm-$(CONFIG_PCI) += ati_pcigart.o
Thierry Redingaead40e2013-08-30 13:36:43 +020028drm-$(CONFIG_DRM_PANEL) += drm_panel.o
Russell King7e435aa2014-06-15 11:07:12 +010029drm-$(CONFIG_OF) += drm_of.o
Daniel Vettera7fb8a22015-09-09 16:45:52 +020030drm-$(CONFIG_AGP) += drm_agpsupport.o
Tomeu Vizoso9edbf1f2016-10-06 17:21:06 +020031drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
Jani Nikula53fd40a2017-09-12 11:19:26 +030032drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Dave Airliec0e09202008-05-29 10:09:59 +100033
Daniel Vetter04381b92014-06-03 19:30:45 +020034drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
Rafael Antognolli70412cf2016-01-21 15:10:18 -080035 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
Noralf Trønnes5b809072016-06-10 16:55:59 +020036 drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
Thierry Reding3ad33ae2017-03-13 16:53:59 +053037 drm_simple_kms_helper.o drm_modeset_helper.o \
Noralf Trønnes4c3dbb22017-08-13 15:31:44 +020038 drm_scdc_helper.o drm_gem_framebuffer_helper.o
Rafael Antognolli70412cf2016-01-21 15:10:18 -080039
Maarten Lankhorst123387d2017-06-06 16:31:50 +020040drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
Archit Tanejaa03fdcb2015-08-05 12:28:57 +053041drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020042drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Rafael Antognollie94cb372016-01-21 15:10:19 -080043drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
Dave Airlie13a81952009-09-07 15:45:33 +100044
Dave Airlie6fcefd52009-09-08 11:08:32 +100045obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Daniel Vetter25a7bb12016-12-28 10:41:17 +010046obj-$(CONFIG_DRM_DEBUG_MM_SELFTEST) += selftests/
Dave Airlie13a81952009-09-07 15:45:33 +100047
Dave Airliec0e09202008-05-29 10:09:59 +100048obj-$(CONFIG_DRM) += drm.o
Andrzej Hajda068a0022013-12-04 16:35:12 +010049obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
Hans de Goede404d1a32017-11-25 20:35:48 +010050obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
Liviu Dudau8e22d792015-04-02 19:48:39 +010051obj-$(CONFIG_DRM_ARM) += arm/
Jerome Glisse176f613e2009-06-22 18:16:13 +020052obj-$(CONFIG_DRM_TTM) += ttm/
Dave Airliec0e09202008-05-29 10:09:59 +100053obj-$(CONFIG_DRM_TDFX) += tdfx/
54obj-$(CONFIG_DRM_R128) += r128/
Felix Kuehling5d86b2c2017-08-24 19:22:32 -040055obj-y += amd/lib/
Oded Gabbay611a03d2014-12-21 15:21:41 +020056obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
Dave Airliec0e09202008-05-29 10:09:59 +100057obj-$(CONFIG_DRM_RADEON)+= radeon/
Alex Deucherd38ceaf2015-04-20 16:55:21 -040058obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
Dave Airliec0e09202008-05-29 10:09:59 +100059obj-$(CONFIG_DRM_MGA) += mga/
60obj-$(CONFIG_DRM_I810) += i810/
Chris Wilsonc58305a2016-08-19 16:54:28 +010061obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010062obj-$(CONFIG_DRM_MGAG200) += mgag200/
Eric Anholtc8b75bc2015-03-02 13:01:12 -080063obj-$(CONFIG_DRM_VC4) += vc4/
Dave Airlief9aa76a2012-04-17 14:12:29 +010064obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
Dave Airliec0e09202008-05-29 10:09:59 +100065obj-$(CONFIG_DRM_SIS) += sis/
66obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000067obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100068obj-$(CONFIG_DRM_VIA) +=via/
Zach Reizner502e95c2015-03-04 16:33:41 -080069obj-$(CONFIG_DRM_VGEM) += vgem/
Ben Skeggs6ee73862009-12-11 19:24:15 +100070obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090071obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Mark Yao2048e322014-08-22 18:36:26 +080072obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
Alan Cox91c75492011-11-03 18:22:48 +000073obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100074obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000075obj-$(CONFIG_DRM_AST) += ast/
Russell King96f60e32012-08-15 13:59:49 +010076obj-$(CONFIG_DRM_ARMADA) += armada/
Boris Brezillon1a396782015-01-06 11:13:28 +010077obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/
Laurent Pinchart4bf8e192013-06-19 13:54:11 +020078obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
Laurent Pinchart51c13272012-04-26 13:53:59 +020079obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Tomi Valkeinen9960aa72015-12-09 20:26:00 +020080obj-y += omapdrm/
Maxime Ripard9026e0d2015-10-29 09:36:23 +010081obj-$(CONFIG_DRM_SUN4I) += sun4i/
Jyri Sarhac87d24532015-02-18 12:26:50 +020082obj-y += tilcdc/
Dave Airlief64122c2013-02-25 14:47:55 +100083obj-$(CONFIG_DRM_QXL) += qxl/
Gerd Hoffmann0a6659b2013-12-17 18:04:46 +010084obj-$(CONFIG_DRM_BOCHS) += bochs/
Dave Airliedc5698e2013-09-09 10:02:56 +100085obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
Rob Clarkc8afe682013-06-26 12:44:06 -040086obj-$(CONFIG_DRM_MSM) += msm/
Thierry Redingdee82682013-10-09 10:32:49 +020087obj-$(CONFIG_DRM_TEGRA) += tegra/
Yannick Fertreb7590122017-04-14 12:13:34 +020088obj-$(CONFIG_DRM_STM) += stm/
Benjamin Gaignardf2cb3142014-07-30 18:20:56 +020089obj-$(CONFIG_DRM_STI) += sti/
Philipp Zabel6556f7f2014-11-24 16:33:34 +010090obj-$(CONFIG_DRM_IMX) += imx/
CK Hu119f5172016-01-04 18:36:34 +010091obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
Neil Armstrongbbbe7752016-11-10 15:29:37 +010092obj-$(CONFIG_DRM_MESON) += meson/
Ben Skeggs6ee73862009-12-11 19:24:15 +100093obj-y += i2c/
Thierry Reding280921d2013-08-30 15:10:14 +020094obj-y += panel/
Sean Paula9fe7132014-02-24 19:31:24 +090095obj-y += bridge/
Jianwei Wang109eee22015-08-19 22:19:49 -040096obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
The etnaviv authorsa8c21a52015-12-03 18:21:29 +010097obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
Carlos Palminha51dacf22016-02-19 15:30:26 +030098obj-$(CONFIG_DRM_ARCPGU)+= arc/
Xinliang Liu23e7b2a2015-10-09 18:00:56 +080099obj-y += hisilicon/
Shawn Guo0a886f52016-09-22 19:52:39 +0800100obj-$(CONFIG_DRM_ZTE) += zte/
Marek Vasut45d59d72016-08-18 20:23:01 +0200101obj-$(CONFIG_DRM_MXSFB) += mxsfb/
Noralf Trønnesfa201ac2017-01-22 00:15:00 +0100102obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
Tom Cookseybed41002017-04-12 20:17:46 -0700103obj-$(CONFIG_DRM_PL111) += pl111/
Linus Walleij179c02f2017-08-20 12:05:55 +0200104obj-$(CONFIG_DRM_TVE200) += tve200/