Padmanabhan Komanduru | 6375861 | 2017-05-23 01:47:18 -0700 | [diff] [blame] | 1 | ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm -Idrivers/gpu/drm/msm/dsi-staging -Idrivers/gpu/drm/msm/dp |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 2 | ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 3 | ccflags-$(CONFIG_DRM_MSM_DSI_PLL) += -Idrivers/gpu/drm/msm/dsi |
Clarence Ip | dd8021c | 2016-07-20 16:39:47 -0400 | [diff] [blame] | 4 | ccflags-y += -Idrivers/gpu/drm/msm/sde |
Alan Kwong | 4dd64c8 | 2017-02-04 18:41:51 -0800 | [diff] [blame] | 5 | ccflags-y += -Idrivers/media/platform/msm/sde/rotator |
Tatenda Chipeperekwa | b8cbd13 | 2017-07-07 17:43:29 -0700 | [diff] [blame] | 6 | ccflags-y += -Idrivers/gpu/drm/msm/hdmi |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 7 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 8 | msm_drm-y := \ |
Padmanabhan Komanduru | 6375861 | 2017-05-23 01:47:18 -0700 | [diff] [blame] | 9 | dp/dp_usbpd.o \ |
| 10 | dp/dp_parser.o \ |
| 11 | dp/dp_power.o \ |
| 12 | dp/dp_catalog.o \ |
| 13 | dp/dp_aux.o \ |
| 14 | dp/dp_panel.o \ |
| 15 | dp/dp_link.o \ |
| 16 | dp/dp_ctrl.o \ |
| 17 | dp/dp_display.o \ |
| 18 | dp/dp_drm.o \ |
Tatenda Chipeperekwa | 3954736 | 2017-07-07 17:44:09 -0700 | [diff] [blame] | 19 | dp/dp_hdcp2p2.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 20 | sde/sde_crtc.o \ |
| 21 | sde/sde_encoder.o \ |
Lloyd Atkinson | 09fed91 | 2016-06-24 18:14:13 -0400 | [diff] [blame] | 22 | sde/sde_encoder_phys_vid.o \ |
| 23 | sde/sde_encoder_phys_cmd.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 24 | sde/sde_irq.o \ |
Alan Kwong | f5dd86c | 2016-08-09 18:08:17 -0400 | [diff] [blame] | 25 | sde/sde_core_irq.o \ |
Alan Kwong | 67a3f79 | 2016-11-01 23:16:53 -0400 | [diff] [blame] | 26 | sde/sde_core_perf.o \ |
Lloyd Atkinson | 11f3444 | 2016-08-11 11:19:52 -0400 | [diff] [blame] | 27 | sde/sde_rm.o \ |
Abhijit Kulkarni | 40e3816 | 2016-06-26 22:12:09 -0400 | [diff] [blame] | 28 | sde/sde_kms_utils.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 29 | sde/sde_kms.o \ |
| 30 | sde/sde_plane.o \ |
Clarence Ip | dd8021c | 2016-07-20 16:39:47 -0400 | [diff] [blame] | 31 | sde/sde_connector.o \ |
Gopikrishnaiah Anandan | e0e5e0c | 2016-05-25 11:05:33 -0700 | [diff] [blame] | 32 | sde/sde_color_processing.o \ |
Lloyd Atkinson | 5d40d31 | 2016-09-06 08:34:13 -0400 | [diff] [blame] | 33 | sde/sde_vbif.o \ |
Lloyd Atkinson | 113aefd | 2016-10-23 13:15:18 -0400 | [diff] [blame] | 34 | sde_dbg.o \ |
Dhaval Patel | 1ac9103 | 2016-09-26 19:25:39 -0700 | [diff] [blame] | 35 | sde_dbg_evtlog.o \ |
| 36 | sde_io_util.o \ |
Gopikrishnaiah Anandan | ed189cd | 2016-12-27 14:31:02 -0800 | [diff] [blame] | 37 | sde/sde_hw_reg_dma_v1_color_proc.o \ |
Gopikrishnaiah Anandan | e6ef01c | 2017-01-13 16:26:13 -0800 | [diff] [blame] | 38 | sde/sde_hw_color_proc_v4.o \ |
Gopikrishnaiah Anandan | 9ba4378 | 2017-01-31 18:23:08 -0800 | [diff] [blame] | 39 | sde/sde_hw_ad4.o \ |
Dhaval Patel | 1ba4ab9 | 2017-06-30 14:51:08 -0700 | [diff] [blame] | 40 | sde_edid_parser.o \ |
Tatenda Chipeperekwa | b8cbd13 | 2017-07-07 17:43:29 -0700 | [diff] [blame] | 41 | sde_hdcp_1x.o |
Dhaval Patel | 1ba4ab9 | 2017-06-30 14:51:08 -0700 | [diff] [blame] | 42 | |
| 43 | msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi.o \ |
| 44 | hdmi/hdmi_audio.o \ |
| 45 | hdmi/hdmi_bridge.o \ |
| 46 | hdmi/hdmi_connector.o \ |
| 47 | hdmi/hdmi_i2c.o \ |
| 48 | hdmi/hdmi_phy.o \ |
| 49 | hdmi/hdmi_phy_8960.o \ |
| 50 | hdmi/hdmi_phy_8x60.o \ |
| 51 | hdmi/hdmi_phy_8x74.o \ |
| 52 | |
| 53 | msm_drm-$(CONFIG_DRM_MSM_EDP) += edp/edp.o \ |
| 54 | edp/edp_aux.o \ |
| 55 | edp/edp_bridge.o \ |
| 56 | edp/edp_connector.o \ |
| 57 | edp/edp_ctrl.o \ |
| 58 | edp/edp_phy.o \ |
| 59 | |
| 60 | msm_drm-$(CONFIG_DRM_MSM_MDP5) += mdp/mdp_format.o \ |
| 61 | mdp/mdp_kms.o \ |
| 62 | mdp/mdp5/mdp5_cfg.o \ |
| 63 | mdp/mdp5/mdp5_ctl.o \ |
| 64 | mdp/mdp5/mdp5_crtc.o \ |
| 65 | mdp/mdp5/mdp5_encoder.o \ |
| 66 | mdp/mdp5/mdp5_irq.o \ |
| 67 | mdp/mdp5/mdp5_mdss.o \ |
| 68 | mdp/mdp5/mdp5_kms.o \ |
| 69 | mdp/mdp5/mdp5_plane.o \ |
| 70 | mdp/mdp5/mdp5_smp.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 71 | |
Dhaval Patel | 49ef6d7 | 2017-03-26 09:35:53 -0700 | [diff] [blame] | 72 | msm_drm-$(CONFIG_DRM_SDE_RSC) += sde_rsc.o \ |
| 73 | sde_rsc_hw.o \ |
| 74 | |
Stephane Viau | 32f13f6 | 2015-04-29 15:57:29 -0400 | [diff] [blame] | 75 | # use drm gpu driver only if qcom_kgsl driver not available |
| 76 | ifneq ($(CONFIG_QCOM_KGSL),y) |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 77 | msm_drm-y += adreno/adreno_device.o \ |
Stephane Viau | 32f13f6 | 2015-04-29 15:57:29 -0400 | [diff] [blame] | 78 | adreno/adreno_gpu.o \ |
| 79 | adreno/a3xx_gpu.o \ |
| 80 | adreno/a4xx_gpu.o |
| 81 | endif |
| 82 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 83 | msm_drm-$(CONFIG_DRM_MSM_MDP4) += mdp/mdp4/mdp4_crtc.o \ |
Stephane Viau | ee93500 | 2015-04-29 14:57:31 -0400 | [diff] [blame] | 84 | mdp/mdp4/mdp4_dtv_encoder.o \ |
| 85 | mdp/mdp4/mdp4_lcdc_encoder.o \ |
| 86 | mdp/mdp4/mdp4_lvds_connector.o \ |
| 87 | mdp/mdp4/mdp4_irq.o \ |
| 88 | mdp/mdp4/mdp4_kms.o \ |
Dhaval Patel | 04c7e8e | 2016-09-26 20:14:31 -0700 | [diff] [blame] | 89 | mdp/mdp4/mdp4_dsi_encoder.o \ |
Stephane Viau | ee93500 | 2015-04-29 14:57:31 -0400 | [diff] [blame] | 90 | mdp/mdp4/mdp4_plane.o |
| 91 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 92 | msm_drm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o |
Dhaval Patel | 39323d4 | 2017-03-01 23:48:24 -0800 | [diff] [blame] | 93 | msm_drm-$(CONFIG_SYNC_FILE) += sde/sde_fence.o |
Dhaval Patel | 1ba4ab9 | 2017-06-30 14:51:08 -0700 | [diff] [blame] | 94 | msm_drm-$(CONFIG_DRM_MSM_MDP4) += mdp/mdp4/mdp4_lvds_pll.o |
| 95 | msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi_pll_8960.o |
| 96 | msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi_phy_8996.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 97 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 98 | msm_drm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o |
Rob Clark | feb46f0 | 2016-03-20 10:16:29 -0400 | [diff] [blame] | 99 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 100 | msm_drm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ |
Vinay Simha BN | 776638e | 2015-10-19 12:27:11 +0530 | [diff] [blame] | 101 | mdp/mdp4/mdp4_dsi_encoder.o \ |
Hai Li | d248b61 | 2015-08-13 17:49:29 -0400 | [diff] [blame] | 102 | dsi/dsi_cfg.o \ |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 103 | dsi/dsi_host.o \ |
| 104 | dsi/dsi_manager.o \ |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 105 | dsi/phy/dsi_phy.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 106 | dsi/dsi_manager.o \ |
Hai Li | d5af49c | 2015-03-26 19:25:17 -0400 | [diff] [blame] | 107 | mdp/mdp5/mdp5_cmd_encoder.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 108 | |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 109 | msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o |
| 110 | msm_drm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o |
| 111 | msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 112 | |
| 113 | ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y) |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 114 | msm_drm-y += dsi/pll/dsi_pll.o |
| 115 | msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o |
| 116 | msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 117 | endif |
Clarence Ip | c3797e6 | 2016-09-22 14:51:39 -0400 | [diff] [blame] | 118 | msm_drm-$(CONFIG_DRM_MSM_DSI_STAGING) += dsi-staging/dsi_phy.o \ |
Padmanabhan Komanduru | dbd2fb0 | 2016-12-02 15:18:49 +0530 | [diff] [blame] | 119 | dsi-staging/dsi_pwr.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 120 | dsi-staging/dsi_phy.o \ |
Padmanabhan Komanduru | 56611ef | 2016-12-19 12:21:11 +0530 | [diff] [blame] | 121 | dsi-staging/dsi_phy_hw_v2_0.o \ |
| 122 | dsi-staging/dsi_phy_hw_v3_0.o \ |
| 123 | dsi-staging/dsi_phy_timing_calc.o \ |
| 124 | dsi-staging/dsi_phy_timing_v2_0.o \ |
| 125 | dsi-staging/dsi_phy_timing_v3_0.o \ |
Padmanabhan Komanduru | 8ee8ee5 | 2016-12-19 12:10:51 +0530 | [diff] [blame] | 126 | dsi-staging/dsi_ctrl_hw_cmn.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 127 | dsi-staging/dsi_ctrl_hw_1_4.o \ |
Padmanabhan Komanduru | 8ee8ee5 | 2016-12-19 12:10:51 +0530 | [diff] [blame] | 128 | dsi-staging/dsi_ctrl_hw_2_0.o \ |
Shashank Babu Chinta Venkata | afef820 | 2017-04-21 13:49:56 -0700 | [diff] [blame] | 129 | dsi-staging/dsi_ctrl_hw_2_2.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 130 | dsi-staging/dsi_ctrl.o \ |
| 131 | dsi-staging/dsi_catalog.o \ |
| 132 | dsi-staging/dsi_drm.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 133 | dsi-staging/dsi_display.o \ |
| 134 | dsi-staging/dsi_panel.o \ |
Padmanabhan Komanduru | dbd2fb0 | 2016-12-02 15:18:49 +0530 | [diff] [blame] | 135 | dsi-staging/dsi_clk_manager.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 136 | dsi-staging/dsi_display_test.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 137 | |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 138 | msm_drm-$(CONFIG_DRM_MSM_DSI_PLL) += dsi/pll/dsi_pll.o \ |
| 139 | dsi/pll/dsi_pll_28nm.o |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 140 | |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 141 | msm_drm-$(CONFIG_DRM_MSM) += \ |
| 142 | sde/sde_hw_catalog.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 143 | sde/sde_hw_cdm.o \ |
| 144 | sde/sde_hw_dspp.o \ |
| 145 | sde/sde_hw_intf.o \ |
| 146 | sde/sde_hw_lm.o \ |
Clarence Ip | c475b08 | 2016-06-26 09:27:23 -0400 | [diff] [blame] | 147 | sde/sde_hw_ctl.o \ |
| 148 | sde/sde_hw_util.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 149 | sde/sde_hw_sspp.o \ |
| 150 | sde/sde_hw_wb.o \ |
Alan Kwong | 4dd64c8 | 2017-02-04 18:41:51 -0800 | [diff] [blame] | 151 | sde/sde_hw_rot.o \ |
Abhijit Kulkarni | 3e3e0d2 | 2016-06-24 17:56:13 -0400 | [diff] [blame] | 152 | sde/sde_hw_pingpong.o \ |
Clarence Ip | c475b08 | 2016-06-26 09:27:23 -0400 | [diff] [blame] | 153 | sde/sde_hw_top.o \ |
Ben Chan | 78647cd | 2016-06-26 22:02:47 -0400 | [diff] [blame] | 154 | sde/sde_hw_interrupts.o \ |
Alan Kwong | 5d324e4 | 2016-07-28 22:56:18 -0400 | [diff] [blame] | 155 | sde/sde_hw_vbif.o \ |
Alan Kwong | 4dd64c8 | 2017-02-04 18:41:51 -0800 | [diff] [blame] | 156 | sde/sde_hw_blk.o \ |
Lloyd Atkinson | 8772e20 | 2016-09-26 17:52:16 -0400 | [diff] [blame] | 157 | sde/sde_formats.o \ |
Benet Clark | eb1b446 | 2016-06-27 14:43:06 -0700 | [diff] [blame] | 158 | sde_power_handle.o \ |
Gopikrishnaiah Anandan | 7e3e3f5 | 2016-12-22 11:13:05 -0800 | [diff] [blame] | 159 | sde/sde_hw_color_processing_v1_7.o \ |
| 160 | sde/sde_reg_dma.o \ |
| 161 | sde/sde_hw_reg_dma_v1.o \ |
Jeykumar Sankaran | 5c2f070 | 2017-03-09 18:03:15 -0800 | [diff] [blame] | 162 | sde/sde_hw_dsc.o |
Clarence Ip | 8d5cbea | 2016-07-19 14:00:52 -0400 | [diff] [blame] | 163 | |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 164 | msm_drm-$(CONFIG_DRM_SDE_WB) += sde/sde_wb.o \ |
Alan Kwong | bb27c09 | 2016-07-20 16:41:25 -0400 | [diff] [blame] | 165 | sde/sde_encoder_phys_wb.o |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 166 | |
| 167 | msm_drm-$(CONFIG_DRM_MSM) += \ |
| 168 | msm_atomic.o \ |
| 169 | msm_drv.o \ |
| 170 | msm_fb.o \ |
| 171 | msm_gem.o \ |
| 172 | msm_gem_prime.o \ |
| 173 | msm_gem_submit.o \ |
Dhaval Patel | 04c7e8e | 2016-09-26 20:14:31 -0700 | [diff] [blame] | 174 | msm_gem_shrinker.o \ |
Rob Clark | e22a2fb | 2017-02-13 10:14:11 -0700 | [diff] [blame] | 175 | msm_gem_vma.o \ |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 176 | msm_gpu.o \ |
| 177 | msm_iommu.o \ |
| 178 | msm_smmu.o \ |
| 179 | msm_perf.o \ |
| 180 | msm_rd.o \ |
| 181 | msm_ringbuffer.o \ |
Dhaval Patel | 04c7e8e | 2016-09-26 20:14:31 -0700 | [diff] [blame] | 182 | msm_prop.o \ |
| 183 | msm_fence.o \ |
| 184 | msm_debugfs.o |
Clarence Ip | 3649f8b | 2016-10-31 09:59:44 -0400 | [diff] [blame] | 185 | |
| 186 | obj-$(CONFIG_DRM_MSM) += msm_drm.o |