Makefile 3.9 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_bufs.o drm_cache.o \
7
		drm_context.o drm_dma.o \
8
		drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \
9
		drm_lock.o drm_memory.o drm_drv.o \
10
		drm_scatter.o drm_pci.o \
11
		drm_sysfs.o drm_hashtab.o drm_mm.o \
12
		drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
13
		drm_info.o drm_encoder_slave.o \
14
		drm_trace_points.o drm_global.o drm_prime.o \
15
		drm_rect.o drm_vma_manager.o drm_flip_work.o \
16
		drm_modeset_lock.o drm_atomic.o drm_bridge.o \
17
		drm_framebuffer.o drm_connector.o drm_blend.o \
18
		drm_encoder.o drm_mode_object.o drm_property.o \
19
		drm_plane.o drm_color_mgmt.o drm_print.o \
20
		drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
21
		drm_syncobj.o drm_lease.o drm_writeback.o
22

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
26
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
27
drm-$(CONFIG_PCI) += ati_pcigart.o
T
Thierry Reding 已提交
28
drm-$(CONFIG_DRM_PANEL) += drm_panel.o
29
drm-$(CONFIG_OF) += drm_of.o
30
drm-$(CONFIG_AGP) += drm_agpsupport.o
31
drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
32
drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
33

34
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
35
		drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
36
		drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
T
Thierry Reding 已提交
37
		drm_simple_kms_helper.o drm_modeset_helper.o \
38
		drm_scdc_helper.o drm_gem_framebuffer_helper.o
39

40
drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
41
drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
42
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
43
drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o
44

45
obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
46
obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/
47

48
obj-$(CONFIG_DRM)	+= drm.o
49
obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
50
obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
51
obj-$(CONFIG_DRM_ARM)	+= arm/
52
obj-$(CONFIG_DRM_TTM)	+= ttm/
53
obj-$(CONFIG_DRM_SCHED)	+= scheduler/
54 55
obj-$(CONFIG_DRM_TDFX)	+= tdfx/
obj-$(CONFIG_DRM_R128)	+= r128/
56
obj-y			+= amd/lib/
57
obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
58
obj-$(CONFIG_DRM_RADEON)+= radeon/
59
obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
60 61
obj-$(CONFIG_DRM_MGA)	+= mga/
obj-$(CONFIG_DRM_I810)	+= i810/
62
obj-$(CONFIG_DRM_I915)	+= i915/
63
obj-$(CONFIG_DRM_MGAG200) += mgag200/
64
obj-$(CONFIG_DRM_V3D)  += v3d/
65
obj-$(CONFIG_DRM_VC4)  += vc4/
66
obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
67 68
obj-$(CONFIG_DRM_SIS)   += sis/
obj-$(CONFIG_DRM_SAVAGE)+= savage/
69
obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
70
obj-$(CONFIG_DRM_VIA)	+=via/
71
obj-$(CONFIG_DRM_VGEM)	+= vgem/
72
obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
73
obj-$(CONFIG_DRM_EXYNOS) +=exynos/
74
obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
75
obj-$(CONFIG_DRM_GMA500) += gma500/
76
obj-$(CONFIG_DRM_UDL) += udl/
77
obj-$(CONFIG_DRM_AST) += ast/
78
obj-$(CONFIG_DRM_ARMADA) += armada/
79
obj-$(CONFIG_DRM_ATMEL_HLCDC)	+= atmel-hlcdc/
80
obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
81
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
82
obj-y			+= omapdrm/
83
obj-$(CONFIG_DRM_SUN4I) += sun4i/
84
obj-y			+= tilcdc/
85
obj-$(CONFIG_DRM_QXL) += qxl/
G
Gerd Hoffmann 已提交
86
obj-$(CONFIG_DRM_BOCHS) += bochs/
D
Dave Airlie 已提交
87
obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
88
obj-$(CONFIG_DRM_MSM) += msm/
89
obj-$(CONFIG_DRM_TEGRA) += tegra/
90
obj-$(CONFIG_DRM_STM) += stm/
91
obj-$(CONFIG_DRM_STI) += sti/
92
obj-$(CONFIG_DRM_IMX) += imx/
93
obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
94
obj-$(CONFIG_DRM_MESON)	+= meson/
95
obj-y			+= i2c/
96
obj-y			+= panel/
97
obj-y			+= bridge/
98
obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
99
obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
100
obj-$(CONFIG_DRM_ARCPGU)+= arc/
101
obj-y			+= hisilicon/
102
obj-$(CONFIG_DRM_ZTE)	+= zte/
103
obj-$(CONFIG_DRM_MXSFB)	+= mxsfb/
104
obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
105
obj-$(CONFIG_DRM_PL111) += pl111/
106
obj-$(CONFIG_DRM_TVE200) += tve200/
107
obj-$(CONFIG_DRM_XEN) += xen/