Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Maxime Ripard | 9026e0d | 2015-10-29 09:36:23 +0100 | [diff] [blame] | 2 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 3 | # 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 Airlie | 61ae227 | 2019-04-18 17:10:40 +1000 | [diff] [blame] | 6 | drm-y := drm_auth.o drm_cache.o \ |
Daniel Vetter | 9acdac6 | 2017-03-08 15:12:40 +0100 | [diff] [blame] | 7 | drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \ |
Thomas Zimmermann | 5c7a0bb | 2019-12-03 11:03:55 +0100 | [diff] [blame] | 8 | drm_memory.o drm_drv.o \ |
Laurent Pinchart | 620f74f | 2016-12-13 21:24:34 +0200 | [diff] [blame] | 9 | drm_sysfs.o drm_hashtab.o drm_mm.o \ |
Laurent Pinchart | ae4df11 | 2016-06-09 12:54:08 +0300 | [diff] [blame] | 10 | drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \ |
Daniel Vetter | c6fdea6 | 2018-11-21 22:35:10 +0100 | [diff] [blame] | 11 | drm_encoder_slave.o \ |
Thomas Zimmermann | 2bb4241 | 2018-10-19 10:54:23 +0200 | [diff] [blame] | 12 | drm_trace_points.o drm_prime.o \ |
Rob Clark | 51fd371 | 2013-11-19 12:10:12 -0500 | [diff] [blame] | 13 | drm_rect.o drm_vma_manager.o drm_flip_work.o \ |
Daniel Vetter | 7520a27 | 2016-08-15 16:07:02 +0200 | [diff] [blame] | 14 | drm_modeset_lock.o drm_atomic.o drm_bridge.o \ |
Daniel Vetter | 321a95a | 2016-08-29 10:27:49 +0200 | [diff] [blame] | 15 | drm_framebuffer.o drm_connector.o drm_blend.o \ |
Daniel Vetter | 43968d7 | 2016-09-21 10:59:24 +0200 | [diff] [blame] | 16 | drm_encoder.o drm_mode_object.o drm_property.o \ |
Daniel Vetter | 1a02ea4 | 2016-11-14 12:58:16 +0100 | [diff] [blame] | 17 | drm_plane.o drm_color_mgmt.o drm_print.o \ |
Dave Airlie | e908342 | 2017-04-04 13:26:24 +1000 | [diff] [blame] | 18 | drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \ |
Daniel Vetter | 72fdb40c | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 19 | drm_syncobj.o drm_lease.o drm_writeback.o drm_client.o \ |
Daniel Vetter | c6603c7 | 2020-03-24 13:45:40 +0100 | [diff] [blame] | 20 | drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o \ |
| 21 | drm_managed.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 22 | |
Dave Airlie | 61ae227 | 2019-04-18 17:10:40 +1000 | [diff] [blame] | 23 | drm-$(CONFIG_DRM_LEGACY) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o |
Chris Wilson | a33d42d | 2016-12-22 08:36:08 +0000 | [diff] [blame] | 24 | drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 25 | drm-$(CONFIG_DRM_VM) += drm_vm.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 26 | drm-$(CONFIG_COMPAT) += drm_ioc32.o |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 27 | drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o |
Noralf Trønnes | 2194a63 | 2019-03-12 19:43:44 -0500 | [diff] [blame] | 28 | drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.o |
Thierry Reding | aead40e | 2013-08-30 13:36:43 +0200 | [diff] [blame] | 29 | drm-$(CONFIG_DRM_PANEL) += drm_panel.o |
Russell King | 7e435aa | 2014-06-15 11:07:12 +0100 | [diff] [blame] | 30 | drm-$(CONFIG_OF) += drm_of.o |
Daniel Vetter | a7fb8a2 | 2015-09-09 16:45:52 +0200 | [diff] [blame] | 31 | drm-$(CONFIG_AGP) += drm_agpsupport.o |
Thomas Zimmermann | 5c7a0bb | 2019-12-03 11:03:55 +0100 | [diff] [blame] | 32 | drm-$(CONFIG_PCI) += drm_pci.o |
Tomeu Vizoso | 9edbf1f | 2016-10-06 17:21:06 +0200 | [diff] [blame] | 33 | drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o |
Jani Nikula | 53fd40a | 2017-09-12 11:19:26 +0300 | [diff] [blame] | 34 | drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 35 | |
Thomas Zimmermann | b22b51a | 2020-03-31 10:12:38 +0200 | [diff] [blame] | 36 | drm_vram_helper-y := drm_gem_vram_helper.o |
Thomas Zimmermann | 85438a8 | 2019-05-08 10:26:11 +0200 | [diff] [blame] | 37 | obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.o |
| 38 | |
Gerd Hoffmann | ff540b7 | 2019-09-04 07:47:35 +0200 | [diff] [blame] | 39 | drm_ttm_helper-y := drm_gem_ttm_helper.o |
| 40 | obj-$(CONFIG_DRM_TTM_HELPER) += drm_ttm_helper.o |
| 41 | |
Laurent Pinchart | 5e20bdf | 2020-02-26 13:24:40 +0200 | [diff] [blame] | 42 | drm_kms_helper-y := drm_bridge_connector.o drm_crtc_helper.o drm_dp_helper.o \ |
| 43 | drm_dsc.o drm_probe_helper.o \ |
Rafael Antognolli | 70412cf | 2016-01-21 15:10:18 -0800 | [diff] [blame] | 44 | drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \ |
Noralf Trønnes | 5b80907 | 2016-06-10 16:55:59 +0200 | [diff] [blame] | 45 | drm_kms_helper_common.o drm_dp_dual_mode_helper.o \ |
Thierry Reding | 3ad33ae | 2017-03-13 16:53:59 +0530 | [diff] [blame] | 46 | drm_simple_kms_helper.o drm_modeset_helper.o \ |
Daniel Vetter | 9ef8a9d | 2018-10-04 22:24:28 +0200 | [diff] [blame] | 47 | drm_scdc_helper.o drm_gem_framebuffer_helper.o \ |
Gerd Hoffmann | 7415287 | 2019-04-05 11:52:15 +0200 | [diff] [blame] | 48 | drm_atomic_state_helper.o drm_damage_helper.o \ |
Sean Paul | 1452c25 | 2019-06-12 10:50:19 -0400 | [diff] [blame] | 49 | drm_format_helper.o drm_self_refresh_helper.o |
Rafael Antognolli | 70412cf | 2016-01-21 15:10:18 -0800 | [diff] [blame] | 50 | |
Maarten Lankhorst | 123387d | 2017-06-06 16:31:50 +0200 | [diff] [blame] | 51 | drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o |
Archit Taneja | a03fdcb | 2015-08-05 12:28:57 +0530 | [diff] [blame] | 52 | drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 53 | drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o |
Rafael Antognolli | e94cb37 | 2016-01-21 15:10:19 -0800 | [diff] [blame] | 54 | drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o |
Hans Verkuil | 2c6d1ff | 2018-07-11 15:29:07 +0200 | [diff] [blame] | 55 | drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 56 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 57 | obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o |
Maarten Lankhorst | 34b13e5 | 2018-05-03 13:22:16 +0200 | [diff] [blame] | 58 | obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/ |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 59 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 60 | obj-$(CONFIG_DRM) += drm.o |
Noralf Trønnes | 174102f | 2019-07-22 12:43:11 +0200 | [diff] [blame] | 61 | obj-$(CONFIG_DRM_MIPI_DBI) += drm_mipi_dbi.o |
Andrzej Hajda | 068a002 | 2013-12-04 16:35:12 +0100 | [diff] [blame] | 62 | obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o |
Hans de Goede | 404d1a3 | 2017-11-25 20:35:48 +0100 | [diff] [blame] | 63 | obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o |
james qian wang (Arm Technology China) | 37fc9bb | 2018-12-05 03:41:35 +0000 | [diff] [blame] | 64 | obj-y += arm/ |
Jerome Glisse | 176f613e | 2009-06-22 18:16:13 +0200 | [diff] [blame] | 65 | obj-$(CONFIG_DRM_TTM) += ttm/ |
Christian König | 8744032 | 2018-01-24 11:44:49 +0100 | [diff] [blame] | 66 | obj-$(CONFIG_DRM_SCHED) += scheduler/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 67 | obj-$(CONFIG_DRM_TDFX) += tdfx/ |
| 68 | obj-$(CONFIG_DRM_R128) += r128/ |
| 69 | obj-$(CONFIG_DRM_RADEON)+= radeon/ |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 70 | obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 71 | obj-$(CONFIG_DRM_MGA) += mga/ |
| 72 | obj-$(CONFIG_DRM_I810) += i810/ |
Chris Wilson | c58305a | 2016-08-19 16:54:28 +0100 | [diff] [blame] | 73 | obj-$(CONFIG_DRM_I915) += i915/ |
Dave Airlie | 414c453 | 2012-04-17 15:01:25 +0100 | [diff] [blame] | 74 | obj-$(CONFIG_DRM_MGAG200) += mgag200/ |
Eric Anholt | 57692c9 | 2018-04-30 11:10:58 -0700 | [diff] [blame] | 75 | obj-$(CONFIG_DRM_V3D) += v3d/ |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 76 | obj-$(CONFIG_DRM_VC4) += vc4/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 77 | obj-$(CONFIG_DRM_SIS) += sis/ |
| 78 | obj-$(CONFIG_DRM_SAVAGE)+= savage/ |
Jakob Bornecrantz | fb1d973 | 2009-12-10 00:19:58 +0000 | [diff] [blame] | 79 | obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 80 | obj-$(CONFIG_DRM_VIA) +=via/ |
Zach Reizner | 502e95c | 2015-03-04 16:33:41 -0800 | [diff] [blame] | 81 | obj-$(CONFIG_DRM_VGEM) += vgem/ |
Haneen Mohammed | 1c7c5fd | 2018-05-14 17:33:46 +0300 | [diff] [blame] | 82 | obj-$(CONFIG_DRM_VKMS) += vkms/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 83 | obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 84 | obj-$(CONFIG_DRM_EXYNOS) +=exynos/ |
Mark Yao | 2048e32 | 2014-08-22 18:36:26 +0800 | [diff] [blame] | 85 | obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 86 | obj-$(CONFIG_DRM_GMA500) += gma500/ |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 87 | obj-$(CONFIG_DRM_UDL) += udl/ |
Dave Airlie | 312fec1 | 2012-02-29 13:40:04 +0000 | [diff] [blame] | 88 | obj-$(CONFIG_DRM_AST) += ast/ |
Russell King | 96f60e3 | 2012-08-15 13:59:49 +0100 | [diff] [blame] | 89 | obj-$(CONFIG_DRM_ARMADA) += armada/ |
Boris Brezillon | 1a39678 | 2015-01-06 11:13:28 +0100 | [diff] [blame] | 90 | obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/ |
Laurent Pinchart | 02f2b30 | 2019-01-17 01:11:37 +0200 | [diff] [blame] | 91 | obj-y += rcar-du/ |
Laurent Pinchart | 51c1327 | 2012-04-26 13:53:59 +0200 | [diff] [blame] | 92 | obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/ |
Tomi Valkeinen | 9960aa7 | 2015-12-09 20:26:00 +0200 | [diff] [blame] | 93 | obj-y += omapdrm/ |
Maxime Ripard | 9026e0d | 2015-10-29 09:36:23 +0100 | [diff] [blame] | 94 | obj-$(CONFIG_DRM_SUN4I) += sun4i/ |
Jyri Sarha | c87d2453 | 2015-02-18 12:26:50 +0200 | [diff] [blame] | 95 | obj-y += tilcdc/ |
Dave Airlie | f64122c | 2013-02-25 14:47:55 +1000 | [diff] [blame] | 96 | obj-$(CONFIG_DRM_QXL) += qxl/ |
Gerd Hoffmann | 0a6659b | 2013-12-17 18:04:46 +0100 | [diff] [blame] | 97 | obj-$(CONFIG_DRM_BOCHS) += bochs/ |
Dave Airlie | dc5698e | 2013-09-09 10:02:56 +1000 | [diff] [blame] | 98 | obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 99 | obj-$(CONFIG_DRM_MSM) += msm/ |
Thierry Reding | dee8268 | 2013-10-09 10:32:49 +0200 | [diff] [blame] | 100 | obj-$(CONFIG_DRM_TEGRA) += tegra/ |
Yannick Fertre | b759012 | 2017-04-14 12:13:34 +0200 | [diff] [blame] | 101 | obj-$(CONFIG_DRM_STM) += stm/ |
Benjamin Gaignard | f2cb314 | 2014-07-30 18:20:56 +0200 | [diff] [blame] | 102 | obj-$(CONFIG_DRM_STI) += sti/ |
Philipp Zabel | 6556f7f | 2014-11-24 16:33:34 +0100 | [diff] [blame] | 103 | obj-$(CONFIG_DRM_IMX) += imx/ |
Paul Cercueil | 90b86fc | 2019-06-03 17:23:31 +0200 | [diff] [blame] | 104 | obj-$(CONFIG_DRM_INGENIC) += ingenic/ |
CK Hu | 119f517 | 2016-01-04 18:36:34 +0100 | [diff] [blame] | 105 | obj-$(CONFIG_DRM_MEDIATEK) += mediatek/ |
Neil Armstrong | bbbe775 | 2016-11-10 15:29:37 +0100 | [diff] [blame] | 106 | obj-$(CONFIG_DRM_MESON) += meson/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 107 | obj-y += i2c/ |
Thierry Reding | 280921d | 2013-08-30 15:10:14 +0200 | [diff] [blame] | 108 | obj-y += panel/ |
Sean Paul | a9fe713 | 2014-02-24 19:31:24 +0900 | [diff] [blame] | 109 | obj-y += bridge/ |
Jianwei Wang | 109eee2 | 2015-08-19 22:19:49 -0400 | [diff] [blame] | 110 | obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/ |
The etnaviv authors | a8c21a5 | 2015-12-03 18:21:29 +0100 | [diff] [blame] | 111 | obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/ |
Carlos Palminha | 51dacf2 | 2016-02-19 15:30:26 +0300 | [diff] [blame] | 112 | obj-$(CONFIG_DRM_ARCPGU)+= arc/ |
Xinliang Liu | 23e7b2a | 2015-10-09 18:00:56 +0800 | [diff] [blame] | 113 | obj-y += hisilicon/ |
Shawn Guo | 0a886f5 | 2016-09-22 19:52:39 +0800 | [diff] [blame] | 114 | obj-$(CONFIG_DRM_ZTE) += zte/ |
Marek Vasut | 45d59d7 | 2016-08-18 20:23:01 +0200 | [diff] [blame] | 115 | obj-$(CONFIG_DRM_MXSFB) += mxsfb/ |
Noralf Trønnes | 043386a | 2019-07-25 12:51:31 +0200 | [diff] [blame] | 116 | obj-y += tiny/ |
Tom Cooksey | bed4100 | 2017-04-12 20:17:46 -0700 | [diff] [blame] | 117 | obj-$(CONFIG_DRM_PL111) += pl111/ |
Linus Walleij | 179c02f | 2017-08-20 12:05:55 +0200 | [diff] [blame] | 118 | obj-$(CONFIG_DRM_TVE200) += tve200/ |
Oleksandr Andrushchenko | c575b7e | 2018-04-03 14:23:17 +0300 | [diff] [blame] | 119 | obj-$(CONFIG_DRM_XEN) += xen/ |
Hans de Goede | 131abc5 | 2019-03-04 17:47:24 +0100 | [diff] [blame] | 120 | obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/ |
Qiang Yu | a1d2a63 | 2019-03-09 20:20:12 +0800 | [diff] [blame] | 121 | obj-$(CONFIG_DRM_LIMA) += lima/ |
Rob Herring | f3ba912 | 2018-09-10 14:27:58 -0500 | [diff] [blame] | 122 | obj-$(CONFIG_DRM_PANFROST) += panfrost/ |
Joel Stanley | 4f2a8f5 | 2019-04-03 10:49:08 +1030 | [diff] [blame] | 123 | obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/ |
Linus Walleij | 5fc537b | 2019-05-24 11:20:19 +0200 | [diff] [blame] | 124 | obj-$(CONFIG_DRM_MCDE) += mcde/ |
Jyri Sarha | 32a1795 | 2019-11-08 09:45:28 +0200 | [diff] [blame] | 125 | obj-$(CONFIG_DRM_TIDSS) += tidss/ |