Makefile 1.9 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 38 39 40
	mdp/mdp5/mdp5_crtc.o \
	mdp/mdp5/mdp5_encoder.o \
	mdp/mdp5/mdp5_irq.o \
	mdp/mdp5/mdp5_kms.o \
	mdp/mdp5/mdp5_plane.o \
	mdp/mdp5/mdp5_smp.o \
R
Rob Clark 已提交
41
	msm_atomic.o \
42 43
	msm_drv.o \
	msm_fb.o \
R
Rob Clark 已提交
44
	msm_gem.o \
R
Rob Clark 已提交
45
	msm_gem_prime.o \
R
Rob Clark 已提交
46 47
	msm_gem_submit.o \
	msm_gpu.o \
48
	msm_iommu.o \
R
Rob Clark 已提交
49
	msm_perf.o \
R
Rob Clark 已提交
50
	msm_rd.o \
R
Rob Clark 已提交
51
	msm_ringbuffer.o
52

53
msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
R
Rob Clark 已提交
54
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
55
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
56
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
57

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

60
msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
61
			mdp/mdp4/mdp4_dsi_encoder.o \
62
			dsi/dsi_cfg.o \
63 64
			dsi/dsi_host.o \
			dsi/dsi_manager.o \
65
			dsi/phy/dsi_phy.o \
66
			mdp/mdp5/mdp5_cmd_encoder.o
67

68 69
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
70
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
71 72 73 74

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
75
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
76
endif
77

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