Makefile 2.5 KB
Newer Older
1 2 3 4 5 6
#
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

ccflags-y := -Iinclude/drm

7
drm-y       :=	drm_auth.o drm_bufs.o drm_cache.o \
8
		drm_context.o drm_dma.o \
9
		drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
D
Dave Airlie 已提交
10
		drm_lock.o drm_memory.o drm_drv.o drm_vm.o \
11
		drm_agpsupport.o drm_scatter.o drm_pci.o \
D
Daniel Vetter 已提交
12
		drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \
13
		drm_crtc.o drm_modes.o drm_edid.o \
J
Jesse Barnes 已提交
14
		drm_info.o drm_debugfs.o drm_encoder_slave.o \
15
		drm_trace_points.o drm_global.o drm_prime.o \
16
		drm_rect.o drm_vma_manager.o drm_flip_work.o \
17
		drm_modeset_lock.o drm_atomic.o drm_bridge.o
18 19

drm-$(CONFIG_COMPAT) += drm_ioc32.o
S
Sascha Hauer 已提交
20
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
21
drm-$(CONFIG_PCI) += ati_pcigart.o
T
Thierry Reding 已提交
22
drm-$(CONFIG_DRM_PANEL) += drm_panel.o
23
drm-$(CONFIG_OF) += drm_of.o
24

25
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
D
Daniel Vetter 已提交
26
		drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o
27
drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
28
drm_kms_helper-$(CONFIG_DRM_KMS_FB_HELPER) += drm_fb_helper.o
29
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
30

31
obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
32

J
Jesse Barnes 已提交
33 34
CFLAGS_drm_trace_points.o := -I$(src)

35
obj-$(CONFIG_DRM)	+= drm.o
A
Andrzej Hajda 已提交
36
obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
37
obj-$(CONFIG_DRM_TTM)	+= ttm/
38 39
obj-$(CONFIG_DRM_TDFX)	+= tdfx/
obj-$(CONFIG_DRM_R128)	+= r128/
40
obj-$(CONFIG_HSA_AMD) += amd/amdkfd/
41 42 43 44
obj-$(CONFIG_DRM_RADEON)+= radeon/
obj-$(CONFIG_DRM_MGA)	+= mga/
obj-$(CONFIG_DRM_I810)	+= i810/
obj-$(CONFIG_DRM_I915)  += i915/
45
obj-$(CONFIG_DRM_MGAG200) += mgag200/
46
obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
47 48
obj-$(CONFIG_DRM_SIS)   += sis/
obj-$(CONFIG_DRM_SAVAGE)+= savage/
49
obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
50
obj-$(CONFIG_DRM_VIA)	+=via/
51
obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
52
obj-$(CONFIG_DRM_EXYNOS) +=exynos/
M
Mark Yao 已提交
53
obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
54
obj-$(CONFIG_DRM_GMA500) += gma500/
D
Dave Airlie 已提交
55
obj-$(CONFIG_DRM_UDL) += udl/
56
obj-$(CONFIG_DRM_AST) += ast/
R
Russell King 已提交
57
obj-$(CONFIG_DRM_ARMADA) += armada/
58
obj-$(CONFIG_DRM_ATMEL_HLCDC)	+= atmel-hlcdc/
59
obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
60
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
R
Rob Clark 已提交
61
obj-$(CONFIG_DRM_OMAP)	+= omapdrm/
62
obj-$(CONFIG_DRM_TILCDC)	+= tilcdc/
D
Dave Airlie 已提交
63
obj-$(CONFIG_DRM_QXL) += qxl/
G
Gerd Hoffmann 已提交
64
obj-$(CONFIG_DRM_BOCHS) += bochs/
65
obj-$(CONFIG_DRM_MSM) += msm/
66
obj-$(CONFIG_DRM_TEGRA) += tegra/
B
Benjamin Gaignard 已提交
67
obj-$(CONFIG_DRM_STI) += sti/
68
obj-$(CONFIG_DRM_IMX) += imx/
69
obj-y			+= i2c/
70
obj-y			+= panel/
71
obj-y			+= bridge/