1ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm 2ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi 3 4msm-y := \ 5 adreno/adreno_device.o \ 6 adreno/adreno_gpu.o \ 7 adreno/a3xx_gpu.o \ 8 adreno/a4xx_gpu.o \ 9 hdmi/hdmi.o \ 10 hdmi/hdmi_audio.o \ 11 hdmi/hdmi_bridge.o \ 12 hdmi/hdmi_connector.o \ 13 hdmi/hdmi_i2c.o \ 14 hdmi/hdmi_phy.o \ 15 hdmi/hdmi_phy_8960.o \ 16 hdmi/hdmi_phy_8x60.o \ 17 hdmi/hdmi_phy_8x74.o \ 18 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 \ 24 mdp/mdp_format.o \ 25 mdp/mdp_kms.o \ 26 mdp/mdp4/mdp4_crtc.o \ 27 mdp/mdp4/mdp4_dtv_encoder.o \ 28 mdp/mdp4/mdp4_lcdc_encoder.o \ 29 mdp/mdp4/mdp4_lvds_connector.o \ 30 mdp/mdp4/mdp4_irq.o \ 31 mdp/mdp4/mdp4_kms.o \ 32 mdp/mdp4/mdp4_plane.o \ 33 mdp/mdp5/mdp5_cfg.o \ 34 mdp/mdp5/mdp5_ctl.o \ 35 mdp/mdp5/mdp5_crtc.o \ 36 mdp/mdp5/mdp5_encoder.o \ 37 mdp/mdp5/mdp5_irq.o \ 38 mdp/mdp5/mdp5_mdss.o \ 39 mdp/mdp5/mdp5_kms.o \ 40 mdp/mdp5/mdp5_plane.o \ 41 mdp/mdp5/mdp5_smp.o \ 42 msm_atomic.o \ 43 msm_debugfs.o \ 44 msm_drv.o \ 45 msm_fb.o \ 46 msm_fence.o \ 47 msm_gem.o \ 48 msm_gem_prime.o \ 49 msm_gem_shrinker.o \ 50 msm_gem_submit.o \ 51 msm_gpu.o \ 52 msm_iommu.o \ 53 msm_perf.o \ 54 msm_rd.o \ 55 msm_ringbuffer.o 56 57msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o 58msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o 59msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o 60msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o 61 62msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o 63 64msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ 65 mdp/mdp4/mdp4_dsi_encoder.o \ 66 dsi/dsi_cfg.o \ 67 dsi/dsi_host.o \ 68 dsi/dsi_manager.o \ 69 dsi/phy/dsi_phy.o \ 70 mdp/mdp5/mdp5_cmd_encoder.o 71 72msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o 73msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o 74msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o 75 76ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y) 77msm-y += dsi/pll/dsi_pll.o 78msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o 79msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o 80endif 81 82obj-$(CONFIG_DRM_MSM) += msm.o 83