blob: 90f66c408120416d1a30f55cc5e6928ed1433f3a [file] [log] [blame]
Rob Clarkc8afe682013-06-26 12:44:06 -04001ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
Hai Li5c829022015-08-13 17:45:52 -04002ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
Rob Clarkc8afe682013-06-26 12:44:06 -04003
4msm-y := \
Rob Clarkbfd28b12014-09-05 13:06:37 -04005 adreno/adreno_device.o \
Rob Clark7198e6b2013-07-19 12:59:32 -04006 adreno/adreno_gpu.o \
7 adreno/a3xx_gpu.o \
Aravind Ganesan23bd62f2014-09-08 13:40:16 -06008 adreno/a4xx_gpu.o \
Rob Clarkc8afe682013-06-26 12:44:06 -04009 hdmi/hdmi.o \
Rob Clarkc0c0d9e2013-12-11 14:44:02 -050010 hdmi/hdmi_audio.o \
Rob Clarka3376e32013-08-30 13:02:15 -040011 hdmi/hdmi_bridge.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040012 hdmi/hdmi_connector.o \
13 hdmi/hdmi_i2c.o \
Archit Taneja15b4a452016-02-25 11:22:38 +053014 hdmi/hdmi_phy.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040015 hdmi/hdmi_phy_8960.o \
16 hdmi/hdmi_phy_8x60.o \
Rob Clarkdada25b2013-12-01 12:12:54 -050017 hdmi/hdmi_phy_8x74.o \
Hai Liab5b0102015-01-07 18:47:44 -050018 edp/edp.o \
19 edp/edp_aux.o \
20 edp/edp_bridge.o \
21 edp/edp_connector.o \
22 edp/edp_ctrl.o \
23 edp/edp_phy.o \
Rob Clark10a02eb2013-11-30 14:58:23 -050024 mdp/mdp_format.o \
Rob Clark9e0efa62013-11-30 17:24:22 -050025 mdp/mdp_kms.o \
Rob Clark2e54a922013-11-30 12:37:42 -050026 mdp/mdp4/mdp4_crtc.o \
27 mdp/mdp4/mdp4_dtv_encoder.o \
Rob Clark3e875992014-08-01 13:08:11 -040028 mdp/mdp4/mdp4_lcdc_encoder.o \
29 mdp/mdp4/mdp4_lvds_connector.o \
Rob Clark2e54a922013-11-30 12:37:42 -050030 mdp/mdp4/mdp4_irq.o \
31 mdp/mdp4/mdp4_kms.o \
32 mdp/mdp4/mdp4_plane.o \
Stephane Viau2e362e12014-11-18 12:49:48 -050033 mdp/mdp5/mdp5_cfg.o \
Stephane Viau0deed252014-11-18 12:49:49 -050034 mdp/mdp5/mdp5_ctl.o \
Rob Clark06c0dd92013-11-30 17:51:47 -050035 mdp/mdp5/mdp5_crtc.o \
36 mdp/mdp5/mdp5_encoder.o \
37 mdp/mdp5/mdp5_irq.o \
Archit Taneja990a4002016-05-07 23:11:25 +053038 mdp/mdp5/mdp5_mdss.o \
Rob Clark06c0dd92013-11-30 17:51:47 -050039 mdp/mdp5/mdp5_kms.o \
Rob Clarkc056b552016-11-01 09:56:51 -040040 mdp/mdp5/mdp5_pipe.o \
Rob Clark06c0dd92013-11-30 17:51:47 -050041 mdp/mdp5/mdp5_plane.o \
42 mdp/mdp5/mdp5_smp.o \
Rob Clarkcf3a7e42014-11-08 13:21:06 -050043 msm_atomic.o \
Rob Clarkedcd60c2016-03-16 12:56:12 -040044 msm_debugfs.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040045 msm_drv.o \
46 msm_fb.o \
Rob Clarkfde5de62016-03-15 15:35:08 -040047 msm_fence.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040048 msm_gem.o \
Rob Clark05b84912013-09-28 11:28:35 -040049 msm_gem_prime.o \
Rob Clark68209392016-05-17 16:19:32 -040050 msm_gem_shrinker.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040051 msm_gem_submit.o \
Rob Clark667ce332016-09-28 19:58:32 -040052 msm_gem_vma.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040053 msm_gpu.o \
Rob Clark871d8122013-11-16 12:56:06 -050054 msm_iommu.o \
Rob Clark70c70f02014-05-30 14:49:43 -040055 msm_perf.o \
Rob Clarka7d3c952014-05-30 14:47:38 -040056 msm_rd.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040057 msm_ringbuffer.o
Rob Clarkc8afe682013-06-26 12:44:06 -040058
Archit Tanejaa9ee34b2015-07-13 12:12:07 +053059msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
Rob Clark3e875992014-08-01 13:08:11 -040060msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
Archit Tanejaea184892016-02-25 11:22:39 +053061msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
Archit Tanejae17afdc2016-02-25 11:22:44 +053062msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
Hai Li825637b2015-05-15 13:04:04 -040063
Rob Clarkfeb46f02016-03-20 10:16:29 -040064msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o
65
Hai Lia6895542015-03-31 14:36:33 -040066msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
Vinay Simha BN776638e2015-10-19 12:27:11 +053067 mdp/mdp4/mdp4_dsi_encoder.o \
Hai Lid248b612015-08-13 17:49:29 -040068 dsi/dsi_cfg.o \
Hai Lia6895542015-03-31 14:36:33 -040069 dsi/dsi_host.o \
70 dsi/dsi_manager.o \
Hai Li5c829022015-08-13 17:45:52 -040071 dsi/phy/dsi_phy.o \
Hai Lid5af49c2015-03-26 19:25:17 -040072 mdp/mdp5/mdp5_cmd_encoder.o
Rob Clarkc8afe682013-06-26 12:44:06 -040073
Hai Li1bf4d7c2015-08-13 17:45:53 -040074msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
75msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
Archit Taneja225380b2015-10-14 12:00:34 +053076msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
Hai Li1bf4d7c2015-08-13 17:45:53 -040077
78ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
79msm-y += dsi/pll/dsi_pll.o
80msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
Archit Tanejac6538de2015-10-14 12:03:44 +053081msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
Hai Li1bf4d7c2015-08-13 17:45:53 -040082endif
Hai Li825637b2015-05-15 13:04:04 -040083
Rob Clarkc8afe682013-06-26 12:44:06 -040084obj-$(CONFIG_DRM_MSM) += msm.o