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