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 | |
David Herrmann | 9f50bd8 | 2014-08-29 12:12:27 +0200 | [diff] [blame] | 6 | drm-y := drm_auth.o drm_bufs.o drm_cache.o \ |
Daniel Vetter | 8f87919 | 2010-08-23 22:53:31 +0200 | [diff] [blame] | 7 | drm_context.o drm_dma.o \ |
Daniel Vetter | 9acdac6 | 2017-03-08 15:12:40 +0100 | [diff] [blame] | 8 | drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \ |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 9 | drm_lock.o drm_memory.o drm_drv.o \ |
Daniel Vetter | a7fb8a2 | 2015-09-09 16:45:52 +0200 | [diff] [blame] | 10 | drm_scatter.o drm_pci.o \ |
Laurent Pinchart | 620f74f | 2016-12-13 21:24:34 +0200 | [diff] [blame] | 11 | drm_sysfs.o drm_hashtab.o drm_mm.o \ |
Laurent Pinchart | ae4df11 | 2016-06-09 12:54:08 +0300 | [diff] [blame] | 12 | drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \ |
Tomeu Vizoso | 9edbf1f | 2016-10-06 17:21:06 +0200 | [diff] [blame] | 13 | drm_info.o drm_encoder_slave.o \ |
Ville Syrjälä | 3512f97 | 2013-04-24 18:52:34 +0300 | [diff] [blame] | 14 | drm_trace_points.o drm_global.o drm_prime.o \ |
Rob Clark | 51fd371 | 2013-11-19 12:10:12 -0500 | [diff] [blame] | 15 | drm_rect.o drm_vma_manager.o drm_flip_work.o \ |
Daniel Vetter | 7520a27 | 2016-08-15 16:07:02 +0200 | [diff] [blame] | 16 | drm_modeset_lock.o drm_atomic.o drm_bridge.o \ |
Daniel Vetter | 321a95a | 2016-08-29 10:27:49 +0200 | [diff] [blame] | 17 | drm_framebuffer.o drm_connector.o drm_blend.o \ |
Daniel Vetter | 43968d7 | 2016-09-21 10:59:24 +0200 | [diff] [blame] | 18 | drm_encoder.o drm_mode_object.o drm_property.o \ |
Daniel Vetter | 1a02ea4 | 2016-11-14 12:58:16 +0100 | [diff] [blame] | 19 | drm_plane.o drm_color_mgmt.o drm_print.o \ |
Dave Airlie | e908342 | 2017-04-04 13:26:24 +1000 | [diff] [blame] | 20 | drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \ |
Keith Packard | 2ed077e | 2017-03-14 22:26:41 -0700 | [diff] [blame] | 21 | drm_syncobj.o drm_lease.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 22 | |
Chris Wilson | a33d42d | 2016-12-22 08:36:08 +0000 | [diff] [blame] | 23 | drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 24 | drm-$(CONFIG_DRM_VM) += drm_vm.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 25 | drm-$(CONFIG_COMPAT) += drm_ioc32.o |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 26 | drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o |
James Hogan | dff98e5 | 2012-11-23 11:12:10 +0000 | [diff] [blame] | 27 | drm-$(CONFIG_PCI) += ati_pcigart.o |
Thierry Reding | aead40e | 2013-08-30 13:36:43 +0200 | [diff] [blame] | 28 | drm-$(CONFIG_DRM_PANEL) += drm_panel.o |
Russell King | 7e435aa | 2014-06-15 11:07:12 +0100 | [diff] [blame] | 29 | drm-$(CONFIG_OF) += drm_of.o |
Daniel Vetter | a7fb8a2 | 2015-09-09 16:45:52 +0200 | [diff] [blame] | 30 | drm-$(CONFIG_AGP) += drm_agpsupport.o |
Tomeu Vizoso | 9edbf1f | 2016-10-06 17:21:06 +0200 | [diff] [blame] | 31 | drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o |
Jani Nikula | 53fd40a | 2017-09-12 11:19:26 +0300 | [diff] [blame] | 32 | drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 33 | |
Daniel Vetter | 04381b9 | 2014-06-03 19:30:45 +0200 | [diff] [blame] | 34 | drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \ |
Rafael Antognolli | 70412cf | 2016-01-21 15:10:18 -0800 | [diff] [blame] | 35 | 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] | 36 | drm_kms_helper_common.o drm_dp_dual_mode_helper.o \ |
Thierry Reding | 3ad33ae | 2017-03-13 16:53:59 +0530 | [diff] [blame] | 37 | drm_simple_kms_helper.o drm_modeset_helper.o \ |
Noralf Trønnes | 4c3dbb2 | 2017-08-13 15:31:44 +0200 | [diff] [blame] | 38 | drm_scdc_helper.o drm_gem_framebuffer_helper.o |
Rafael Antognolli | 70412cf | 2016-01-21 15:10:18 -0800 | [diff] [blame] | 39 | |
Maarten Lankhorst | 123387d | 2017-06-06 16:31:50 +0200 | [diff] [blame] | 40 | drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o |
Archit Taneja | a03fdcb | 2015-08-05 12:28:57 +0530 | [diff] [blame] | 41 | drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 42 | 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] | 43 | drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 44 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 45 | obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o |
Daniel Vetter | 25a7bb1 | 2016-12-28 10:41:17 +0100 | [diff] [blame] | 46 | obj-$(CONFIG_DRM_DEBUG_MM_SELFTEST) += selftests/ |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 47 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 48 | obj-$(CONFIG_DRM) += drm.o |
Andrzej Hajda | 068a002 | 2013-12-04 16:35:12 +0100 | [diff] [blame] | 49 | obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o |
Hans de Goede | 404d1a3 | 2017-11-25 20:35:48 +0100 | [diff] [blame^] | 50 | obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o |
Liviu Dudau | 8e22d79 | 2015-04-02 19:48:39 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_DRM_ARM) += arm/ |
Jerome Glisse | 176f613e | 2009-06-22 18:16:13 +0200 | [diff] [blame] | 52 | obj-$(CONFIG_DRM_TTM) += ttm/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 53 | obj-$(CONFIG_DRM_TDFX) += tdfx/ |
| 54 | obj-$(CONFIG_DRM_R128) += r128/ |
Felix Kuehling | 5d86b2c | 2017-08-24 19:22:32 -0400 | [diff] [blame] | 55 | obj-y += amd/lib/ |
Oded Gabbay | 611a03d | 2014-12-21 15:21:41 +0200 | [diff] [blame] | 56 | obj-$(CONFIG_HSA_AMD) += amd/amdkfd/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 57 | obj-$(CONFIG_DRM_RADEON)+= radeon/ |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 58 | obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 59 | obj-$(CONFIG_DRM_MGA) += mga/ |
| 60 | obj-$(CONFIG_DRM_I810) += i810/ |
Chris Wilson | c58305a | 2016-08-19 16:54:28 +0100 | [diff] [blame] | 61 | obj-$(CONFIG_DRM_I915) += i915/ |
Dave Airlie | 414c453 | 2012-04-17 15:01:25 +0100 | [diff] [blame] | 62 | obj-$(CONFIG_DRM_MGAG200) += mgag200/ |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 63 | obj-$(CONFIG_DRM_VC4) += vc4/ |
Dave Airlie | f9aa76a | 2012-04-17 14:12:29 +0100 | [diff] [blame] | 64 | obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 65 | obj-$(CONFIG_DRM_SIS) += sis/ |
| 66 | obj-$(CONFIG_DRM_SAVAGE)+= savage/ |
Jakob Bornecrantz | fb1d973 | 2009-12-10 00:19:58 +0000 | [diff] [blame] | 67 | obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 68 | obj-$(CONFIG_DRM_VIA) +=via/ |
Zach Reizner | 502e95c | 2015-03-04 16:33:41 -0800 | [diff] [blame] | 69 | obj-$(CONFIG_DRM_VGEM) += vgem/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 70 | obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 71 | obj-$(CONFIG_DRM_EXYNOS) +=exynos/ |
Mark Yao | 2048e32 | 2014-08-22 18:36:26 +0800 | [diff] [blame] | 72 | obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 73 | obj-$(CONFIG_DRM_GMA500) += gma500/ |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 74 | obj-$(CONFIG_DRM_UDL) += udl/ |
Dave Airlie | 312fec1 | 2012-02-29 13:40:04 +0000 | [diff] [blame] | 75 | obj-$(CONFIG_DRM_AST) += ast/ |
Russell King | 96f60e3 | 2012-08-15 13:59:49 +0100 | [diff] [blame] | 76 | obj-$(CONFIG_DRM_ARMADA) += armada/ |
Boris Brezillon | 1a39678 | 2015-01-06 11:13:28 +0100 | [diff] [blame] | 77 | obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/ |
Laurent Pinchart | 4bf8e19 | 2013-06-19 13:54:11 +0200 | [diff] [blame] | 78 | obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/ |
Laurent Pinchart | 51c1327 | 2012-04-26 13:53:59 +0200 | [diff] [blame] | 79 | obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/ |
Tomi Valkeinen | 9960aa7 | 2015-12-09 20:26:00 +0200 | [diff] [blame] | 80 | obj-y += omapdrm/ |
Maxime Ripard | 9026e0d | 2015-10-29 09:36:23 +0100 | [diff] [blame] | 81 | obj-$(CONFIG_DRM_SUN4I) += sun4i/ |
Jyri Sarha | c87d2453 | 2015-02-18 12:26:50 +0200 | [diff] [blame] | 82 | obj-y += tilcdc/ |
Dave Airlie | f64122c | 2013-02-25 14:47:55 +1000 | [diff] [blame] | 83 | obj-$(CONFIG_DRM_QXL) += qxl/ |
Gerd Hoffmann | 0a6659b | 2013-12-17 18:04:46 +0100 | [diff] [blame] | 84 | obj-$(CONFIG_DRM_BOCHS) += bochs/ |
Dave Airlie | dc5698e | 2013-09-09 10:02:56 +1000 | [diff] [blame] | 85 | obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 86 | obj-$(CONFIG_DRM_MSM) += msm/ |
Thierry Reding | dee8268 | 2013-10-09 10:32:49 +0200 | [diff] [blame] | 87 | obj-$(CONFIG_DRM_TEGRA) += tegra/ |
Yannick Fertre | b759012 | 2017-04-14 12:13:34 +0200 | [diff] [blame] | 88 | obj-$(CONFIG_DRM_STM) += stm/ |
Benjamin Gaignard | f2cb314 | 2014-07-30 18:20:56 +0200 | [diff] [blame] | 89 | obj-$(CONFIG_DRM_STI) += sti/ |
Philipp Zabel | 6556f7f | 2014-11-24 16:33:34 +0100 | [diff] [blame] | 90 | obj-$(CONFIG_DRM_IMX) += imx/ |
CK Hu | 119f517 | 2016-01-04 18:36:34 +0100 | [diff] [blame] | 91 | obj-$(CONFIG_DRM_MEDIATEK) += mediatek/ |
Neil Armstrong | bbbe775 | 2016-11-10 15:29:37 +0100 | [diff] [blame] | 92 | obj-$(CONFIG_DRM_MESON) += meson/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 93 | obj-y += i2c/ |
Thierry Reding | 280921d | 2013-08-30 15:10:14 +0200 | [diff] [blame] | 94 | obj-y += panel/ |
Sean Paul | a9fe713 | 2014-02-24 19:31:24 +0900 | [diff] [blame] | 95 | obj-y += bridge/ |
Jianwei Wang | 109eee2 | 2015-08-19 22:19:49 -0400 | [diff] [blame] | 96 | obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/ |
The etnaviv authors | a8c21a5 | 2015-12-03 18:21:29 +0100 | [diff] [blame] | 97 | obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/ |
Carlos Palminha | 51dacf2 | 2016-02-19 15:30:26 +0300 | [diff] [blame] | 98 | obj-$(CONFIG_DRM_ARCPGU)+= arc/ |
Xinliang Liu | 23e7b2a | 2015-10-09 18:00:56 +0800 | [diff] [blame] | 99 | obj-y += hisilicon/ |
Shawn Guo | 0a886f5 | 2016-09-22 19:52:39 +0800 | [diff] [blame] | 100 | obj-$(CONFIG_DRM_ZTE) += zte/ |
Marek Vasut | 45d59d7 | 2016-08-18 20:23:01 +0200 | [diff] [blame] | 101 | obj-$(CONFIG_DRM_MXSFB) += mxsfb/ |
Noralf Trønnes | fa201ac | 2017-01-22 00:15:00 +0100 | [diff] [blame] | 102 | obj-$(CONFIG_DRM_TINYDRM) += tinydrm/ |
Tom Cooksey | bed4100 | 2017-04-12 20:17:46 -0700 | [diff] [blame] | 103 | obj-$(CONFIG_DRM_PL111) += pl111/ |
Linus Walleij | 179c02f | 2017-08-20 12:05:55 +0200 | [diff] [blame] | 104 | obj-$(CONFIG_DRM_TVE200) += tve200/ |