Makefile 2.2 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
	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 \
R
Rob Clark 已提交
43 44
	mdp/mdp5/mdp5_plane.o \
	mdp/mdp5/mdp5_smp.o \
R
Rob Clark 已提交
45
	msm_atomic.o \
46
	msm_debugfs.o \
47 48
	msm_drv.o \
	msm_fb.o \
49
	msm_fence.o \
R
Rob Clark 已提交
50
	msm_gem.o \
R
Rob Clark 已提交
51
	msm_gem_prime.o \
R
Rob Clark 已提交
52
	msm_gem_shrinker.o \
R
Rob Clark 已提交
53
	msm_gem_submit.o \
54
	msm_gem_vma.o \
R
Rob Clark 已提交
55
	msm_gpu.o \
56
	msm_iommu.o \
R
Rob Clark 已提交
57
	msm_perf.o \
R
Rob Clark 已提交
58
	msm_rd.o \
R
Rob Clark 已提交
59
	msm_ringbuffer.o
60

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

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

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

76 77
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
78
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
79
msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o
80 81 82 83

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
84
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
85
msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/pll/dsi_pll_14nm.o
86
endif
87

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