blob: cd40c050b2d7fb770446f3f11ea6372ca8b7fdf3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Masahiro Yamada78f27b12017-04-24 13:50:28 +09002ccflags-y := -Idrivers/gpu/drm/msm
Hai Li5c829022015-08-13 17:45:52 -04003ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
Rob Clarkc8afe682013-06-26 12:44:06 -04004
5msm-y := \
Rob Clarkbfd28b12014-09-05 13:06:37 -04006 adreno/adreno_device.o \
Rob Clark7198e6b2013-07-19 12:59:32 -04007 adreno/adreno_gpu.o \
8 adreno/a3xx_gpu.o \
Aravind Ganesan23bd62f2014-09-08 13:40:16 -06009 adreno/a4xx_gpu.o \
Jordan Crouseb5f103a2016-11-28 12:28:33 -070010 adreno/a5xx_gpu.o \
Jordan Crouse2401a002016-11-28 12:28:34 -070011 adreno/a5xx_power.o \
Jordan Crouseb1fc2832017-10-20 11:07:01 -060012 adreno/a5xx_preempt.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040013 hdmi/hdmi.o \
Rob Clarkc0c0d9e2013-12-11 14:44:02 -050014 hdmi/hdmi_audio.o \
Rob Clarka3376e32013-08-30 13:02:15 -040015 hdmi/hdmi_bridge.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040016 hdmi/hdmi_connector.o \
17 hdmi/hdmi_i2c.o \
Archit Taneja15b4a452016-02-25 11:22:38 +053018 hdmi/hdmi_phy.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040019 hdmi/hdmi_phy_8960.o \
20 hdmi/hdmi_phy_8x60.o \
Rob Clarkdada25b2013-12-01 12:12:54 -050021 hdmi/hdmi_phy_8x74.o \
Hai Liab5b0102015-01-07 18:47:44 -050022 edp/edp.o \
23 edp/edp_aux.o \
24 edp/edp_bridge.o \
25 edp/edp_connector.o \
26 edp/edp_ctrl.o \
27 edp/edp_phy.o \
Rob Clark14be3202018-02-12 08:18:27 -050028 disp/mdp_format.o \
29 disp/mdp_kms.o \
30 disp/mdp4/mdp4_crtc.o \
31 disp/mdp4/mdp4_dtv_encoder.o \
32 disp/mdp4/mdp4_lcdc_encoder.o \
33 disp/mdp4/mdp4_lvds_connector.o \
34 disp/mdp4/mdp4_irq.o \
35 disp/mdp4/mdp4_kms.o \
36 disp/mdp4/mdp4_plane.o \
37 disp/mdp5/mdp5_cfg.o \
38 disp/mdp5/mdp5_ctl.o \
39 disp/mdp5/mdp5_crtc.o \
40 disp/mdp5/mdp5_encoder.o \
41 disp/mdp5/mdp5_irq.o \
42 disp/mdp5/mdp5_mdss.o \
43 disp/mdp5/mdp5_kms.o \
44 disp/mdp5/mdp5_pipe.o \
45 disp/mdp5/mdp5_mixer.o \
46 disp/mdp5/mdp5_plane.o \
47 disp/mdp5/mdp5_smp.o \
Rob Clarkcf3a7e42014-11-08 13:21:06 -050048 msm_atomic.o \
Rob Clarkedcd60c2016-03-16 12:56:12 -040049 msm_debugfs.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040050 msm_drv.o \
51 msm_fb.o \
Rob Clarkfde5de62016-03-15 15:35:08 -040052 msm_fence.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040053 msm_gem.o \
Rob Clark05b84912013-09-28 11:28:35 -040054 msm_gem_prime.o \
Rob Clark68209392016-05-17 16:19:32 -040055 msm_gem_shrinker.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040056 msm_gem_submit.o \
Rob Clark667ce332016-09-28 19:58:32 -040057 msm_gem_vma.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040058 msm_gpu.o \
Rob Clark871d8122013-11-16 12:56:06 -050059 msm_iommu.o \
Rob Clark70c70f02014-05-30 14:49:43 -040060 msm_perf.o \
Rob Clarka7d3c952014-05-30 14:47:38 -040061 msm_rd.o \
Jordan Crousef7de1542017-10-20 11:06:55 -060062 msm_ringbuffer.o \
63 msm_submitqueue.o
Rob Clarkc8afe682013-06-26 12:44:06 -040064
Rob Clark331dc0b2017-12-13 15:12:56 -050065msm-$(CONFIG_DEBUG_FS) += adreno/a5xx_debugfs.o
66
Archit Tanejaa9ee34b2015-07-13 12:12:07 +053067msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
Rob Clark14be3202018-02-12 08:18:27 -050068msm-$(CONFIG_COMMON_CLK) += disp/mdp4/mdp4_lvds_pll.o
Archit Tanejaea184892016-02-25 11:22:39 +053069msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
Archit Tanejae17afdc2016-02-25 11:22:44 +053070msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
Hai Li825637b2015-05-15 13:04:04 -040071
Rob Clarkfeb46f02016-03-20 10:16:29 -040072msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o
73
Hai Lia6895542015-03-31 14:36:33 -040074msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
Rob Clark14be3202018-02-12 08:18:27 -050075 disp/mdp4/mdp4_dsi_encoder.o \
Hai Lid248b612015-08-13 17:49:29 -040076 dsi/dsi_cfg.o \
Hai Lia6895542015-03-31 14:36:33 -040077 dsi/dsi_host.o \
78 dsi/dsi_manager.o \
Hai Li5c829022015-08-13 17:45:52 -040079 dsi/phy/dsi_phy.o \
Rob Clark14be3202018-02-12 08:18:27 -050080 disp/mdp5/mdp5_cmd_encoder.o
Rob Clarkc8afe682013-06-26 12:44:06 -040081
Hai Li1bf4d7c2015-08-13 17:45:53 -040082msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
83msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
Archit Taneja225380b2015-10-14 12:00:34 +053084msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
Archit Tanejaf079f6d2017-01-03 19:45:43 +053085msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o
Archit Taneja973e02d2018-01-17 11:35:25 +053086msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/phy/dsi_phy_10nm.o
Hai Li1bf4d7c2015-08-13 17:45:53 -040087
88ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
89msm-y += dsi/pll/dsi_pll.o
90msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
Archit Tanejac6538de2015-10-14 12:03:44 +053091msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
Archit Tanejaf079f6d2017-01-03 19:45:43 +053092msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/pll/dsi_pll_14nm.o
Archit Taneja973e02d2018-01-17 11:35:25 +053093msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/pll/dsi_pll_10nm.o
Hai Li1bf4d7c2015-08-13 17:45:53 -040094endif
Hai Li825637b2015-05-15 13:04:04 -040095
Rob Clarkc8afe682013-06-26 12:44:06 -040096obj-$(CONFIG_DRM_MSM) += msm.o