Makefile 4.5 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2

3 4 5
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

6
drm-y       :=	drm_auth.o drm_cache.o \
7
		drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \
8
		drm_memory.o drm_drv.o drm_pci.o \
9
		drm_sysfs.o drm_hashtab.o drm_mm.o \
10
		drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
11
		drm_encoder_slave.o \
12
		drm_trace_points.o drm_prime.o \
13
		drm_rect.o drm_vma_manager.o drm_flip_work.o \
14
		drm_modeset_lock.o drm_atomic.o drm_bridge.o \
D
Daniel Vetter 已提交
15
		drm_framebuffer.o drm_connector.o drm_blend.o \
D
Daniel Vetter 已提交
16
		drm_encoder.o drm_mode_object.o drm_property.o \
D
Daniel Vetter 已提交
17
		drm_plane.o drm_color_mgmt.o drm_print.o \
D
Dave Airlie 已提交
18
		drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
D
Daniel Vetter 已提交
19
		drm_syncobj.o drm_lease.o drm_writeback.o drm_client.o \
20
		drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o
21

22
drm-$(CONFIG_DRM_LEGACY) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o
23
drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o
24
drm-$(CONFIG_DRM_VM) += drm_vm.o
25
drm-$(CONFIG_COMPAT) += drm_ioc32.o
S
Sascha Hauer 已提交
26
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
27
drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.o
28
drm-$(CONFIG_DRM_ATI_PCIGART) += ati_pcigart.o
T
Thierry Reding 已提交
29
drm-$(CONFIG_DRM_PANEL) += drm_panel.o
30
drm-$(CONFIG_OF) += drm_of.o
D
Daniel Vetter 已提交
31
drm-$(CONFIG_AGP) += drm_agpsupport.o
32
drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
33
drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
34

35
drm_vram_helper-y := drm_gem_vram_helper.o \
36 37
		     drm_vram_helper_common.o \
		     drm_vram_mm_helper.o
38 39
obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.o

40
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_dsc.o drm_probe_helper.o \
41
		drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
42
		drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
T
Thierry Reding 已提交
43
		drm_simple_kms_helper.o drm_modeset_helper.o \
44
		drm_scdc_helper.o drm_gem_framebuffer_helper.o \
45
		drm_atomic_state_helper.o drm_damage_helper.o \
46
		drm_format_helper.o drm_self_refresh_helper.o
47

48
drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
49
drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
50
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
51
drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
52
drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o
53

54
obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
55
obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/
56

57
obj-$(CONFIG_DRM)	+= drm.o
A
Andrzej Hajda 已提交
58
obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
59
obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
60
obj-y			+= arm/
61
obj-$(CONFIG_DRM_TTM)	+= ttm/
62
obj-$(CONFIG_DRM_SCHED)	+= scheduler/
63 64
obj-$(CONFIG_DRM_TDFX)	+= tdfx/
obj-$(CONFIG_DRM_R128)	+= r128/
65
obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
66
obj-$(CONFIG_DRM_RADEON)+= radeon/
A
Alex Deucher 已提交
67
obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
68 69
obj-$(CONFIG_DRM_MGA)	+= mga/
obj-$(CONFIG_DRM_I810)	+= i810/
70
obj-$(CONFIG_DRM_I915)	+= i915/
71
obj-$(CONFIG_DRM_MGAG200) += mgag200/
72
obj-$(CONFIG_DRM_V3D)  += v3d/
73
obj-$(CONFIG_DRM_VC4)  += vc4/
74
obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
75 76
obj-$(CONFIG_DRM_SIS)   += sis/
obj-$(CONFIG_DRM_SAVAGE)+= savage/
77
obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
78
obj-$(CONFIG_DRM_VIA)	+=via/
Z
Zach Reizner 已提交
79
obj-$(CONFIG_DRM_VGEM)	+= vgem/
80
obj-$(CONFIG_DRM_VKMS)	+= vkms/
81
obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
82
obj-$(CONFIG_DRM_EXYNOS) +=exynos/
M
Mark Yao 已提交
83
obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
84
obj-$(CONFIG_DRM_GMA500) += gma500/
D
Dave Airlie 已提交
85
obj-$(CONFIG_DRM_UDL) += udl/
86
obj-$(CONFIG_DRM_AST) += ast/
R
Russell King 已提交
87
obj-$(CONFIG_DRM_ARMADA) += armada/
88
obj-$(CONFIG_DRM_ATMEL_HLCDC)	+= atmel-hlcdc/
89
obj-y			+= rcar-du/
90
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
91
obj-y			+= omapdrm/
92
obj-$(CONFIG_DRM_SUN4I) += sun4i/
93
obj-y			+= tilcdc/
D
Dave Airlie 已提交
94
obj-$(CONFIG_DRM_QXL) += qxl/
G
Gerd Hoffmann 已提交
95
obj-$(CONFIG_DRM_BOCHS) += bochs/
D
Dave Airlie 已提交
96
obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
97
obj-$(CONFIG_DRM_MSM) += msm/
98
obj-$(CONFIG_DRM_TEGRA) += tegra/
Y
Yannick Fertre 已提交
99
obj-$(CONFIG_DRM_STM) += stm/
B
Benjamin Gaignard 已提交
100
obj-$(CONFIG_DRM_STI) += sti/
101
obj-$(CONFIG_DRM_IMX) += imx/
102
obj-$(CONFIG_DRM_INGENIC) += ingenic/
103
obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
104
obj-$(CONFIG_DRM_MESON)	+= meson/
105
obj-y			+= i2c/
106
obj-y			+= panel/
107
obj-y			+= bridge/
108
obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
109
obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
110
obj-$(CONFIG_DRM_ARCPGU)+= arc/
111
obj-y			+= hisilicon/
S
Shawn Guo 已提交
112
obj-$(CONFIG_DRM_ZTE)	+= zte/
113
obj-$(CONFIG_DRM_MXSFB)	+= mxsfb/
114
obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
115
obj-$(CONFIG_DRM_PL111) += pl111/
116
obj-$(CONFIG_DRM_TVE200) += tve200/
117
obj-$(CONFIG_DRM_XEN) += xen/
118
obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
Q
Qiang Yu 已提交
119
obj-$(CONFIG_DRM_LIMA)  += lima/
120
obj-$(CONFIG_DRM_PANFROST) += panfrost/
J
Joel Stanley 已提交
121
obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
122
obj-$(CONFIG_DRM_MCDE) += mcde/