Makefile 2.2 KB
Newer Older
1
ccflags-y := -Idrivers/gpu/drm/msm
2
ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
3 4

msm-y := \
5
	adreno/adreno_device.o \
R
Rob Clark 已提交
6 7
	adreno/adreno_gpu.o \
	adreno/a3xx_gpu.o \
8
	adreno/a4xx_gpu.o \
9
	adreno/a5xx_gpu.o \
10
	adreno/a5xx_power.o \
11
	hdmi/hdmi.o \
R
Rob Clark 已提交
12
	hdmi/hdmi_audio.o \
R
Rob Clark 已提交
13
	hdmi/hdmi_bridge.o \
14 15
	hdmi/hdmi_connector.o \
	hdmi/hdmi_i2c.o \
16
	hdmi/hdmi_phy.o \
17 18
	hdmi/hdmi_phy_8960.o \
	hdmi/hdmi_phy_8x60.o \
19
	hdmi/hdmi_phy_8x74.o \
20 21 22 23 24 25
	edp/edp.o \
	edp/edp_aux.o \
	edp/edp_bridge.o \
	edp/edp_connector.o \
	edp/edp_ctrl.o \
	edp/edp_phy.o \
R
Rob Clark 已提交
26
	mdp/mdp_format.o \
R
Rob Clark 已提交
27
	mdp/mdp_kms.o \
R
Rob Clark 已提交
28 29
	mdp/mdp4/mdp4_crtc.o \
	mdp/mdp4/mdp4_dtv_encoder.o \
R
Rob Clark 已提交
30 31
	mdp/mdp4/mdp4_lcdc_encoder.o \
	mdp/mdp4/mdp4_lvds_connector.o \
R
Rob Clark 已提交
32 33 34
	mdp/mdp4/mdp4_irq.o \
	mdp/mdp4/mdp4_kms.o \
	mdp/mdp4/mdp4_plane.o \
35
	mdp/mdp5/mdp5_cfg.o \
36
	mdp/mdp5/mdp5_ctl.o \
R
Rob Clark 已提交
37 38 39
	mdp/mdp5/mdp5_crtc.o \
	mdp/mdp5/mdp5_encoder.o \
	mdp/mdp5/mdp5_irq.o \
40
	mdp/mdp5/mdp5_mdss.o \
R
Rob Clark 已提交
41
	mdp/mdp5/mdp5_kms.o \
R
Rob Clark 已提交
42
	mdp/mdp5/mdp5_pipe.o \
43
	mdp/mdp5/mdp5_mixer.o \
R
Rob Clark 已提交
44 45
	mdp/mdp5/mdp5_plane.o \
	mdp/mdp5/mdp5_smp.o \
R
Rob Clark 已提交
46
	msm_atomic.o \
47
	msm_debugfs.o \
48 49
	msm_drv.o \
	msm_fb.o \
50
	msm_fence.o \
R
Rob Clark 已提交
51
	msm_gem.o \
R
Rob Clark 已提交
52
	msm_gem_prime.o \
R
Rob Clark 已提交
53
	msm_gem_shrinker.o \
R
Rob Clark 已提交
54
	msm_gem_submit.o \
55
	msm_gem_vma.o \
R
Rob Clark 已提交
56
	msm_gpu.o \
57
	msm_iommu.o \
R
Rob Clark 已提交
58
	msm_perf.o \
R
Rob Clark 已提交
59
	msm_rd.o \
60 61
	msm_ringbuffer.o \
	msm_submitqueue.o
62

63
msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
R
Rob Clark 已提交
64
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
65
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
66
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
67

R
Rob Clark 已提交
68 69
msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o

70
msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
71
			mdp/mdp4/mdp4_dsi_encoder.o \
72
			dsi/dsi_cfg.o \
73 74
			dsi/dsi_host.o \
			dsi/dsi_manager.o \
75
			dsi/phy/dsi_phy.o \
76
			mdp/mdp5/mdp5_cmd_encoder.o
77

78 79
msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
80
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
81
msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o
82 83 84 85

ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
msm-y += dsi/pll/dsi_pll.o
msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
86
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
87
msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/pll/dsi_pll_14nm.o
88
endif
89

90
obj-$(CONFIG_DRM_MSM)	+= msm.o