blob: 2c0e5a7e595362a5176a148d6d8d2770fd891804 [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 \
Thomas Zimmermann5c7a0bb2019-12-03 11:03:55 +01008 drm_memory.o drm_drv.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 \
Daniel Vetterc6603c72020-03-24 13:45:40 +010020 drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o \
21 drm_managed.o
Dave Airliec0e09202008-05-29 10:09:59 +100022
Dave Airlie61ae2272019-04-18 17:10:40 +100023drm-$(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 +000024drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o
Benjamin Gaignard99c48e12017-01-04 10:12:56 +010025drm-$(CONFIG_DRM_VM) += drm_vm.o
Dave Airliec0e09202008-05-29 10:09:59 +100026drm-$(CONFIG_COMPAT) += drm_ioc32.o
Sascha Hauerb9d47452012-06-27 15:30:18 +020027drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
Noralf Trønnes2194a632019-03-12 19:43:44 -050028drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.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
Thomas Zimmermann5c7a0bb2019-12-03 11:03:55 +010032drm-$(CONFIG_PCI) += drm_pci.o
Tomeu Vizoso9edbf1f2016-10-06 17:21:06 +020033drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
Jani Nikula53fd40a2017-09-12 11:19:26 +030034drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
Dave Airliec0e09202008-05-29 10:09:59 +100035
Thomas Zimmermannb22b51a2020-03-31 10:12:38 +020036drm_vram_helper-y := drm_gem_vram_helper.o
Thomas Zimmermann85438a82019-05-08 10:26:11 +020037obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.o
38
Gerd Hoffmannff540b72019-09-04 07:47:35 +020039drm_ttm_helper-y := drm_gem_ttm_helper.o
40obj-$(CONFIG_DRM_TTM_HELPER) += drm_ttm_helper.o
41
Laurent Pinchart5e20bdf2020-02-26 13:24:40 +020042drm_kms_helper-y := drm_bridge_connector.o drm_crtc_helper.o drm_dp_helper.o \
43 drm_dsc.o drm_probe_helper.o \
Rafael Antognolli70412cf2016-01-21 15:10:18 -080044 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
Noralf Trønnes5b809072016-06-10 16:55:59 +020045 drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
Thierry Reding3ad33ae2017-03-13 16:53:59 +053046 drm_simple_kms_helper.o drm_modeset_helper.o \
Daniel Vetter9ef8a9d2018-10-04 22:24:28 +020047 drm_scdc_helper.o drm_gem_framebuffer_helper.o \
Gerd Hoffmann74152872019-04-05 11:52:15 +020048 drm_atomic_state_helper.o drm_damage_helper.o \
Sean Paul1452c252019-06-12 10:50:19 -040049 drm_format_helper.o drm_self_refresh_helper.o
Rafael Antognolli70412cf2016-01-21 15:10:18 -080050
Maarten Lankhorst123387d2017-06-06 16:31:50 +020051drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
Archit Tanejaa03fdcb2015-08-05 12:28:57 +053052drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
Lars-Peter Clausen2e3b3c42012-07-02 16:37:47 +020053drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Rafael Antognollie94cb372016-01-21 15:10:19 -080054drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
Hans Verkuil2c6d1ff2018-07-11 15:29:07 +020055drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o
Dave Airlie13a81952009-09-07 15:45:33 +100056
Dave Airlie6fcefd52009-09-08 11:08:32 +100057obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Maarten Lankhorst34b13e52018-05-03 13:22:16 +020058obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/
Dave Airlie13a81952009-09-07 15:45:33 +100059
Dave Airliec0e09202008-05-29 10:09:59 +100060obj-$(CONFIG_DRM) += drm.o
Noralf Trønnes174102f2019-07-22 12:43:11 +020061obj-$(CONFIG_DRM_MIPI_DBI) += drm_mipi_dbi.o
Andrzej Hajda068a0022013-12-04 16:35:12 +010062obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
Hans de Goede404d1a32017-11-25 20:35:48 +010063obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
james qian wang (Arm Technology China)37fc9bb2018-12-05 03:41:35 +000064obj-y += arm/
Jerome Glisse176f613e2009-06-22 18:16:13 +020065obj-$(CONFIG_DRM_TTM) += ttm/
Christian König87440322018-01-24 11:44:49 +010066obj-$(CONFIG_DRM_SCHED) += scheduler/
Dave Airliec0e09202008-05-29 10:09:59 +100067obj-$(CONFIG_DRM_TDFX) += tdfx/
68obj-$(CONFIG_DRM_R128) += r128/
69obj-$(CONFIG_DRM_RADEON)+= radeon/
Alex Deucherd38ceaf2015-04-20 16:55:21 -040070obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
Dave Airliec0e09202008-05-29 10:09:59 +100071obj-$(CONFIG_DRM_MGA) += mga/
72obj-$(CONFIG_DRM_I810) += i810/
Chris Wilsonc58305a2016-08-19 16:54:28 +010073obj-$(CONFIG_DRM_I915) += i915/
Dave Airlie414c4532012-04-17 15:01:25 +010074obj-$(CONFIG_DRM_MGAG200) += mgag200/
Eric Anholt57692c92018-04-30 11:10:58 -070075obj-$(CONFIG_DRM_V3D) += v3d/
Eric Anholtc8b75bc2015-03-02 13:01:12 -080076obj-$(CONFIG_DRM_VC4) += vc4/
Dave Airliec0e09202008-05-29 10:09:59 +100077obj-$(CONFIG_DRM_SIS) += sis/
78obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000079obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100080obj-$(CONFIG_DRM_VIA) +=via/
Zach Reizner502e95c2015-03-04 16:33:41 -080081obj-$(CONFIG_DRM_VGEM) += vgem/
Haneen Mohammed1c7c5fd2018-05-14 17:33:46 +030082obj-$(CONFIG_DRM_VKMS) += vkms/
Ben Skeggs6ee73862009-12-11 19:24:15 +100083obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
Inki Dae1c248b72011-10-04 19:19:01 +090084obj-$(CONFIG_DRM_EXYNOS) +=exynos/
Mark Yao2048e322014-08-22 18:36:26 +080085obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
Alan Cox91c75492011-11-03 18:22:48 +000086obj-$(CONFIG_DRM_GMA500) += gma500/
Dave Airlie53209182010-12-15 07:14:24 +100087obj-$(CONFIG_DRM_UDL) += udl/
Dave Airlie312fec12012-02-29 13:40:04 +000088obj-$(CONFIG_DRM_AST) += ast/
Russell King96f60e32012-08-15 13:59:49 +010089obj-$(CONFIG_DRM_ARMADA) += armada/
Boris Brezillon1a396782015-01-06 11:13:28 +010090obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/
Laurent Pinchart02f2b302019-01-17 01:11:37 +020091obj-y += rcar-du/
Laurent Pinchart51c13272012-04-26 13:53:59 +020092obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
Tomi Valkeinen9960aa72015-12-09 20:26:00 +020093obj-y += omapdrm/
Maxime Ripard9026e0d2015-10-29 09:36:23 +010094obj-$(CONFIG_DRM_SUN4I) += sun4i/
Jyri Sarhac87d24532015-02-18 12:26:50 +020095obj-y += tilcdc/
Dave Airlief64122c2013-02-25 14:47:55 +100096obj-$(CONFIG_DRM_QXL) += qxl/
Gerd Hoffmann0a6659b2013-12-17 18:04:46 +010097obj-$(CONFIG_DRM_BOCHS) += bochs/
Dave Airliedc5698e2013-09-09 10:02:56 +100098obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
Rob Clarkc8afe682013-06-26 12:44:06 -040099obj-$(CONFIG_DRM_MSM) += msm/
Thierry Redingdee82682013-10-09 10:32:49 +0200100obj-$(CONFIG_DRM_TEGRA) += tegra/
Yannick Fertreb7590122017-04-14 12:13:34 +0200101obj-$(CONFIG_DRM_STM) += stm/
Benjamin Gaignardf2cb3142014-07-30 18:20:56 +0200102obj-$(CONFIG_DRM_STI) += sti/
Philipp Zabel6556f7f2014-11-24 16:33:34 +0100103obj-$(CONFIG_DRM_IMX) += imx/
Paul Cercueil90b86fc2019-06-03 17:23:31 +0200104obj-$(CONFIG_DRM_INGENIC) += ingenic/
CK Hu119f5172016-01-04 18:36:34 +0100105obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
Neil Armstrongbbbe7752016-11-10 15:29:37 +0100106obj-$(CONFIG_DRM_MESON) += meson/
Ben Skeggs6ee73862009-12-11 19:24:15 +1000107obj-y += i2c/
Thierry Reding280921d2013-08-30 15:10:14 +0200108obj-y += panel/
Sean Paula9fe7132014-02-24 19:31:24 +0900109obj-y += bridge/
Jianwei Wang109eee22015-08-19 22:19:49 -0400110obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
The etnaviv authorsa8c21a52015-12-03 18:21:29 +0100111obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
Carlos Palminha51dacf22016-02-19 15:30:26 +0300112obj-$(CONFIG_DRM_ARCPGU)+= arc/
Xinliang Liu23e7b2a2015-10-09 18:00:56 +0800113obj-y += hisilicon/
Shawn Guo0a886f52016-09-22 19:52:39 +0800114obj-$(CONFIG_DRM_ZTE) += zte/
Marek Vasut45d59d72016-08-18 20:23:01 +0200115obj-$(CONFIG_DRM_MXSFB) += mxsfb/
Noralf Trønnes043386a2019-07-25 12:51:31 +0200116obj-y += tiny/
Tom Cookseybed41002017-04-12 20:17:46 -0700117obj-$(CONFIG_DRM_PL111) += pl111/
Linus Walleij179c02f2017-08-20 12:05:55 +0200118obj-$(CONFIG_DRM_TVE200) += tve200/
Oleksandr Andrushchenkoc575b7e2018-04-03 14:23:17 +0300119obj-$(CONFIG_DRM_XEN) += xen/
Hans de Goede131abc52019-03-04 17:47:24 +0100120obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
Qiang Yua1d2a632019-03-09 20:20:12 +0800121obj-$(CONFIG_DRM_LIMA) += lima/
Rob Herringf3ba9122018-09-10 14:27:58 -0500122obj-$(CONFIG_DRM_PANFROST) += panfrost/
Joel Stanley4f2a8f52019-04-03 10:49:08 +1030123obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
Linus Walleij5fc537b2019-05-24 11:20:19 +0200124obj-$(CONFIG_DRM_MCDE) += mcde/
Jyri Sarha32a17952019-11-08 09:45:28 +0200125obj-$(CONFIG_DRM_TIDSS) += tidss/