Makefile 2.0 KB
Newer Older
1
ccflags-y := -Iinclude/drm -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
	hdmi/hdmi.o \
R
Rob Clark 已提交
10
	hdmi/hdmi_audio.o \
R
Rob Clark 已提交
11
	hdmi/hdmi_bridge.o \
12 13
	hdmi/hdmi_connector.o \
	hdmi/hdmi_i2c.o \
14
	hdmi/hdmi_phy.o \
15 16
	hdmi/hdmi_phy_8960.o \
	hdmi/hdmi_phy_8x60.o \
17
	hdmi/hdmi_phy_8x74.o \
18 19 20 21 22 23
	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 已提交
24
	mdp/mdp_format.o \
R
Rob Clark 已提交
25
	mdp/mdp_kms.o \
R
Rob Clark 已提交
26 27
	mdp/mdp4/mdp4_crtc.o \
	mdp/mdp4/mdp4_dtv_encoder.o \
R
Rob Clark 已提交
28 29
	mdp/mdp4/mdp4_lcdc_encoder.o \
	mdp/mdp4/mdp4_lvds_connector.o \
R
Rob Clark 已提交
30 31 32
	mdp/mdp4/mdp4_irq.o \
	mdp/mdp4/mdp4_kms.o \
	mdp/mdp4/mdp4_plane.o \
33
	mdp/mdp5/mdp5_cfg.o \
34
	mdp/mdp5/mdp5_ctl.o \
R
Rob Clark 已提交
35 36 37
	mdp/mdp5/mdp5_crtc.o \
	mdp/mdp5/mdp5_encoder.o \
	mdp/mdp5/mdp5_irq.o \
38
	mdp/mdp5/mdp5_mdss.o \
R
Rob Clark 已提交
39 40 41
	mdp/mdp5/mdp5_kms.o \
	mdp/mdp5/mdp5_plane.o \
	mdp/mdp5/mdp5_smp.o \
R
Rob Clark 已提交
42
	msm_atomic.o \
43
	msm_debugfs.o \
44 45
	msm_drv.o \
	msm_fb.o \
46
	msm_fence.o \
R
Rob Clark 已提交
47
	msm_gem.o \
R
Rob Clark 已提交
48
	msm_gem_prime.o \
R
Rob Clark 已提交
49
	msm_gem_shrinker.o \
R
Rob Clark 已提交
50
	msm_gem_submit.o \
51
	msm_gem_vma.o \
R
Rob Clark 已提交
52
	msm_gpu.o \
53
	msm_iommu.o \
R
Rob Clark 已提交
54
	msm_perf.o \
R
Rob Clark 已提交
55
	msm_rd.o \
R
Rob Clark 已提交
56
	msm_ringbuffer.o
57

58
msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
R
Rob Clark 已提交
59
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
60
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
61
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
62

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

65
msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
66
			mdp/mdp4/mdp4_dsi_encoder.o \
67
			dsi/dsi_cfg.o \
68 69
			dsi/dsi_host.o \
			dsi/dsi_manager.o \
70
			dsi/phy/dsi_phy.o \
71
			mdp/mdp5/mdp5_cmd_encoder.o
72

73 74
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
75
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
76 77 78 79

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
80
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
81
endif
82

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