blob: d36feb4a623300ef43966f2047f5747d4d0b8dab [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
Dave Airlie61ae2272019-04-18 17:10:40 +10006drm-y := drm_auth.o drm_cache.o \
Daniel Vetter9acdac62017-03-08 15:12:40 +01007 drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \
Dave Airlie61ae2272019-04-18 17:10:40 +10008 drm_memory.o drm_drv.o drm_pci.o \
Laurent Pinchart620f74f2016-12-13 21:24:34 +02009 drm_sysfs.o drm_hashtab.o drm_mm.o \
Laurent Pinchartae4df112016-06-09 12:54:08 +030010 drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
Daniel Vetterc6fdea62018-11-21 22:35:10 +010011 drm_encoder_slave.o \
Thomas Zimmermann2bb42412018-10-19 10:54:23 +020012 drm_trace_points.o drm_prime.o \
Rob Clark51fd3712013-11-19 12:10:12 -050013 drm_rect.o drm_vma_manager.o drm_flip_work.o \
Daniel Vetter7520a272016-08-15 16:07:02 +020014 drm_modeset_lock.o drm_atomic.o drm_bridge.o \
Daniel Vetter321a95a2016-08-29 10:27:49 +020015 drm_framebuffer.o drm_connector.o drm_blend.o \
Daniel Vetter43968d72016-09-21 10:59:24 +020016 drm_encoder.o drm_mode_object.o drm_property.o \
Daniel Vetter1a02ea42016-11-14 12:58:16 +010017 drm_plane.o drm_color_mgmt.o drm_print.o \
Dave Airliee9083422017-04-04 13:26:24 +100018 drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
Daniel Vetter72fdb40c2018-09-05 15:57:11 +020019 drm_syncobj.o drm_lease.o drm_writeback.o drm_client.o \
Noralf Trønnesd81294a2019-05-31 16:01:11 +020020 drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o
Dave Airliec0e09202008-05-29 10:09:59 +100021
Dave Airlie61ae2272019-04-18 17:10:40 +100022drm-$(CONFIG_DRM_LEGACY) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o
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
Noralf Trønnes2194a632019-03-12 19:43:44 -050027drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.o
Dave Airlie848ee532019-04-23 09:55:20 +100028drm-$(CONFIG_DRM_ATI_PCIGART) += ati_pcigart.o
Thierry Redingaead40e2013-08-30 13:36:43 +020029drm-$(CONFIG_DRM_PANEL) += drm_panel.o
Russell King7e435aa2014-06-15 11:07:12 +010030drm-$(CONFIG_OF) += drm_of.o
Daniel Vettera7fb8a22015-09-09 16:45:52 +020031drm-$(CONFIG_AGP) += drm_agpsupport.o
Tomeu Vizoso9edbf1f2016-10-06 17:21:06 +020032drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
Jani Nikula53fd40a2017-09-12 11:19:26 +030033drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Dave Airliec0e09202008-05-29 10:09:59 +100034
Thomas Zimmermann85438a82019-05-08 10:26:11 +020035drm_vram_helper-y := drm_gem_vram_helper.o \
Thomas Zimmermann96352ec2019-05-08 10:26:16 +020036 drm_vram_helper_common.o \
37 drm_vram_mm_helper.o
Thomas Zimmermann85438a82019-05-08 10:26:11 +020038obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.o
39
Manasi Navarea408c852018-11-27 13:41:07 -080040drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_dsc.o drm_probe_helper.o \
Rafael Antognolli70412cf2016-01-21 15:10:18 -080041 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
Noralf Trønnes5b809072016-06-10 16:55:59 +020042 drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
Thierry Reding3ad33ae2017-03-13 16:53:59 +053043 drm_simple_kms_helper.o drm_modeset_helper.o \
Daniel Vetter9ef8a9d2018-10-04 22:24:28 +020044 drm_scdc_helper.o drm_gem_framebuffer_helper.o \
Gerd Hoffmann74152872019-04-05 11:52:15 +020045 drm_atomic_state_helper.o drm_damage_helper.o \
46 drm_format_helper.o
Rafael Antognolli70412cf2016-01-21 15:10:18 -080047
Maarten Lankhorst123387d2017-06-06 16:31:50 +020048drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
Archit Tanejaa03fdcb2015-08-05 12:28:57 +053049drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020050drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Rafael Antognollie94cb372016-01-21 15:10:19 -080051drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
Hans Verkuil2c6d1ff2018-07-11 15:29:07 +020052drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o
Dave Airlie13a81952009-09-07 15:45:33 +100053
Dave Airlie6fcefd52009-09-08 11:08:32 +100054obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Maarten Lankhorst34b13e52018-05-03 13:22:16 +020055obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/
Dave Airlie13a81952009-09-07 15:45:33 +100056
Dave Airliec0e09202008-05-29 10:09:59 +100057obj-$(CONFIG_DRM) += drm.o
Andrzej Hajda068a0022013-12-04 16:35:12 +010058obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
Hans de Goede404d1a32017-11-25 20:35:48 +010059obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
james qian wang (Arm Technology China)37fc9bb2018-12-05 03:41:35 +000060obj-y += arm/
Jerome Glisse176f613e2009-06-22 18:16:13 +020061obj-$(CONFIG_DRM_TTM) += ttm/
Christian König87440322018-01-24 11:44:49 +010062obj-$(CONFIG_DRM_SCHED) += scheduler/
Dave Airliec0e09202008-05-29 10:09:59 +100063obj-$(CONFIG_DRM_TDFX) += tdfx/
64obj-$(CONFIG_DRM_R128) += r128/
Oded Gabbay611a03d2014-12-21 15:21:41 +020065obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
Dave Airliec0e09202008-05-29 10:09:59 +100066obj-$(CONFIG_DRM_RADEON)+= radeon/
Alex Deucherd38ceaf2015-04-20 16:55:21 -040067obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
Dave Airliec0e09202008-05-29 10:09:59 +100068obj-$(CONFIG_DRM_MGA) += mga/
69obj-$(CONFIG_DRM_I810) += i810/
Chris Wilsonc58305a2016-08-19 16:54:28 +010070obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010071obj-$(CONFIG_DRM_MGAG200) += mgag200/
Eric Anholt57692c92018-04-30 11:10:58 -070072obj-$(CONFIG_DRM_V3D) += v3d/
Eric Anholtc8b75bc2015-03-02 13:01:12 -080073obj-$(CONFIG_DRM_VC4) += vc4/
Dave Airlief9aa76a2012-04-17 14:12:29 +010074obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
Dave Airliec0e09202008-05-29 10:09:59 +100075obj-$(CONFIG_DRM_SIS) += sis/
76obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000077obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100078obj-$(CONFIG_DRM_VIA) +=via/
Zach Reizner502e95c2015-03-04 16:33:41 -080079obj-$(CONFIG_DRM_VGEM) += vgem/
Haneen Mohammed1c7c5fd2018-05-14 17:33:46 +030080obj-$(CONFIG_DRM_VKMS) += vkms/
Ben Skeggs6ee73862009-12-11 19:24:15 +100081obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090082obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Mark Yao2048e322014-08-22 18:36:26 +080083obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
Alan Cox91c75492011-11-03 18:22:48 +000084obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100085obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000086obj-$(CONFIG_DRM_AST) += ast/
Russell King96f60e32012-08-15 13:59:49 +010087obj-$(CONFIG_DRM_ARMADA) += armada/
Boris Brezillon1a396782015-01-06 11:13:28 +010088obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/
Laurent Pinchart02f2b302019-01-17 01:11:37 +020089obj-y += rcar-du/
Laurent Pinchart51c13272012-04-26 13:53:59 +020090obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Tomi Valkeinen9960aa72015-12-09 20:26:00 +020091obj-y += omapdrm/
Maxime Ripard9026e0d2015-10-29 09:36:23 +010092obj-$(CONFIG_DRM_SUN4I) += sun4i/
Jyri Sarhac87d24532015-02-18 12:26:50 +020093obj-y += tilcdc/
Dave Airlief64122c2013-02-25 14:47:55 +100094obj-$(CONFIG_DRM_QXL) += qxl/
Gerd Hoffmann0a6659b2013-12-17 18:04:46 +010095obj-$(CONFIG_DRM_BOCHS) += bochs/
Dave Airliedc5698e2013-09-09 10:02:56 +100096obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
Rob Clarkc8afe682013-06-26 12:44:06 -040097obj-$(CONFIG_DRM_MSM) += msm/
Thierry Redingdee82682013-10-09 10:32:49 +020098obj-$(CONFIG_DRM_TEGRA) += tegra/
Yannick Fertreb7590122017-04-14 12:13:34 +020099obj-$(CONFIG_DRM_STM) += stm/
Benjamin Gaignardf2cb3142014-07-30 18:20:56 +0200100obj-$(CONFIG_DRM_STI) += sti/
Philipp Zabel6556f7f2014-11-24 16:33:34 +0100101obj-$(CONFIG_DRM_IMX) += imx/
CK Hu119f5172016-01-04 18:36:34 +0100102obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
Neil Armstrongbbbe7752016-11-10 15:29:37 +0100103obj-$(CONFIG_DRM_MESON) += meson/
Ben Skeggs6ee73862009-12-11 19:24:15 +1000104obj-y += i2c/
Thierry Reding280921d2013-08-30 15:10:14 +0200105obj-y += panel/
Sean Paula9fe7132014-02-24 19:31:24 +0900106obj-y += bridge/
Jianwei Wang109eee22015-08-19 22:19:49 -0400107obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
The etnaviv authorsa8c21a52015-12-03 18:21:29 +0100108obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
Carlos Palminha51dacf22016-02-19 15:30:26 +0300109obj-$(CONFIG_DRM_ARCPGU)+= arc/
Xinliang Liu23e7b2a2015-10-09 18:00:56 +0800110obj-y += hisilicon/
Shawn Guo0a886f52016-09-22 19:52:39 +0800111obj-$(CONFIG_DRM_ZTE) += zte/
Marek Vasut45d59d72016-08-18 20:23:01 +0200112obj-$(CONFIG_DRM_MXSFB) += mxsfb/
Noralf Trønnesfa201ac2017-01-22 00:15:00 +0100113obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
Tom Cookseybed41002017-04-12 20:17:46 -0700114obj-$(CONFIG_DRM_PL111) += pl111/
Linus Walleij179c02f2017-08-20 12:05:55 +0200115obj-$(CONFIG_DRM_TVE200) += tve200/
Oleksandr Andrushchenkoc575b7e2018-04-03 14:23:17 +0300116obj-$(CONFIG_DRM_XEN) += xen/
Hans de Goede131abc52019-03-04 17:47:24 +0100117obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
Qiang Yua1d2a632019-03-09 20:20:12 +0800118obj-$(CONFIG_DRM_LIMA) += lima/
Rob Herringf3ba9122018-09-10 14:27:58 -0500119obj-$(CONFIG_DRM_PANFROST) += panfrost/
Joel Stanley4f2a8f52019-04-03 10:49:08 +1030120obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
Linus Walleij5fc537b2019-05-24 11:20:19 +0200121obj-$(CONFIG_DRM_MCDE) += mcde/