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 |
Clarence Ip | 8d5cbea | 2016-07-19 14:00:52 -0400 | [diff] [blame] | 2 | ccflags-y += -Idrivers/gpu/drm/msm/display-manager |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 3 | ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi |
Clarence Ip | ae4e60c | 2016-06-26 22:44:04 -0400 | [diff] [blame] | 4 | ccflags-$(CONFIG_SYNC) += -Idrivers/staging/android |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 5 | ccflags-$(CONFIG_DRM_MSM_DSI_PLL) += -Idrivers/gpu/drm/msm/dsi |
Clarence Ip | dd8021c | 2016-07-20 16:39:47 -0400 | [diff] [blame] | 6 | ccflags-y += -Idrivers/gpu/drm/msm/sde |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 7 | |
| 8 | msm-y := \ |
| 9 | hdmi/hdmi.o \ |
Rob Clark | c0c0d9e | 2013-12-11 14:44:02 -0500 | [diff] [blame] | 10 | hdmi/hdmi_audio.o \ |
Rob Clark | a3376e3 | 2013-08-30 13:02:15 -0400 | [diff] [blame] | 11 | hdmi/hdmi_bridge.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 12 | hdmi/hdmi_connector.o \ |
| 13 | hdmi/hdmi_i2c.o \ |
Archit Taneja | 15b4a45 | 2016-02-25 11:22:38 +0530 | [diff] [blame] | 14 | hdmi/hdmi_phy.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 15 | hdmi/hdmi_phy_8960.o \ |
| 16 | hdmi/hdmi_phy_8x60.o \ |
Rob Clark | dada25b | 2013-12-01 12:12:54 -0500 | [diff] [blame] | 17 | hdmi/hdmi_phy_8x74.o \ |
Hai Li | ab5b010 | 2015-01-07 18:47:44 -0500 | [diff] [blame] | 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 \ |
Rob Clark | 10a02eb | 2013-11-30 14:58:23 -0500 | [diff] [blame] | 24 | mdp/mdp_format.o \ |
Rob Clark | 9e0efa6 | 2013-11-30 17:24:22 -0500 | [diff] [blame] | 25 | mdp/mdp_kms.o \ |
Stephane Viau | 2e362e1 | 2014-11-18 12:49:48 -0500 | [diff] [blame] | 26 | mdp/mdp5/mdp5_cfg.o \ |
Stephane Viau | 0deed25 | 2014-11-18 12:49:49 -0500 | [diff] [blame] | 27 | mdp/mdp5/mdp5_ctl.o \ |
Rob Clark | 06c0dd9 | 2013-11-30 17:51:47 -0500 | [diff] [blame] | 28 | mdp/mdp5/mdp5_crtc.o \ |
| 29 | mdp/mdp5/mdp5_encoder.o \ |
| 30 | mdp/mdp5/mdp5_irq.o \ |
Archit Taneja | 990a400 | 2016-05-07 23:11:25 +0530 | [diff] [blame] | 31 | mdp/mdp5/mdp5_mdss.o \ |
Rob Clark | 06c0dd9 | 2013-11-30 17:51:47 -0500 | [diff] [blame] | 32 | mdp/mdp5/mdp5_kms.o \ |
| 33 | mdp/mdp5/mdp5_plane.o \ |
| 34 | mdp/mdp5/mdp5_smp.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 35 | sde/sde_crtc.o \ |
| 36 | sde/sde_encoder.o \ |
Lloyd Atkinson | 09fed91 | 2016-06-24 18:14:13 -0400 | [diff] [blame] | 37 | sde/sde_encoder_phys_vid.o \ |
| 38 | sde/sde_encoder_phys_cmd.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 39 | sde/sde_irq.o \ |
Lloyd Atkinson | 11f3444 | 2016-08-11 11:19:52 -0400 | [diff] [blame] | 40 | sde/sde_rm.o \ |
Abhijit Kulkarni | 40e3816 | 2016-06-26 22:12:09 -0400 | [diff] [blame] | 41 | sde/sde_kms_utils.o \ |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 42 | sde/sde_kms.o \ |
| 43 | sde/sde_plane.o \ |
Clarence Ip | dd8021c | 2016-07-20 16:39:47 -0400 | [diff] [blame] | 44 | sde/sde_connector.o \ |
Rob Clark | cf3a7e4 | 2014-11-08 13:21:06 -0500 | [diff] [blame] | 45 | msm_atomic.o \ |
Rob Clark | edcd60c | 2016-03-16 12:56:12 -0400 | [diff] [blame] | 46 | msm_debugfs.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 47 | msm_drv.o \ |
| 48 | msm_fb.o \ |
Rob Clark | fde5de6 | 2016-03-15 15:35:08 -0400 | [diff] [blame] | 49 | msm_fence.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 50 | msm_gem.o \ |
Rob Clark | 05b8491 | 2013-09-28 11:28:35 -0400 | [diff] [blame] | 51 | msm_gem_prime.o \ |
Rob Clark | 6820939 | 2016-05-17 16:19:32 -0400 | [diff] [blame] | 52 | msm_gem_shrinker.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 53 | msm_gem_submit.o \ |
| 54 | msm_gpu.o \ |
Rob Clark | 871d812 | 2013-11-16 12:56:06 -0500 | [diff] [blame] | 55 | msm_iommu.o \ |
Adrian Salido-Moreno | 48ebb79 | 2015-10-02 15:54:46 -0700 | [diff] [blame] | 56 | msm_smmu.o \ |
Rob Clark | 70c70f0 | 2014-05-30 14:49:43 -0400 | [diff] [blame] | 57 | msm_perf.o \ |
Rob Clark | a7d3c95 | 2014-05-30 14:47:38 -0400 | [diff] [blame] | 58 | msm_rd.o \ |
Lloyd Atkinson | 154b6aa | 2016-05-24 17:11:37 -0400 | [diff] [blame] | 59 | msm_ringbuffer.o \ |
| 60 | msm_evtlog.o \ |
Dhaval Patel | 3949f03 | 2016-06-20 16:24:33 -0700 | [diff] [blame] | 61 | sde_power_handle.o \ |
Clarence Ip | 7aa390f | 2016-05-26 21:06:54 -0400 | [diff] [blame] | 62 | msm_prop.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 63 | |
Stephane Viau | 32f13f6 | 2015-04-29 15:57:29 -0400 | [diff] [blame] | 64 | # use drm gpu driver only if qcom_kgsl driver not available |
| 65 | ifneq ($(CONFIG_QCOM_KGSL),y) |
| 66 | msm-y += adreno/adreno_device.o \ |
| 67 | adreno/adreno_gpu.o \ |
| 68 | adreno/a3xx_gpu.o \ |
| 69 | adreno/a4xx_gpu.o |
| 70 | endif |
| 71 | |
Stephane Viau | ee93500 | 2015-04-29 14:57:31 -0400 | [diff] [blame] | 72 | msm-$(CONFIG_DRM_MSM_MDP4) += mdp/mdp4/mdp4_crtc.o \ |
| 73 | mdp/mdp4/mdp4_dtv_encoder.o \ |
| 74 | mdp/mdp4/mdp4_lcdc_encoder.o \ |
| 75 | mdp/mdp4/mdp4_lvds_connector.o \ |
| 76 | mdp/mdp4/mdp4_irq.o \ |
| 77 | mdp/mdp4/mdp4_kms.o \ |
| 78 | mdp/mdp4/mdp4_plane.o |
| 79 | |
Archit Taneja | a9ee34b | 2015-07-13 12:12:07 +0530 | [diff] [blame] | 80 | msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o |
Clarence Ip | ae4e60c | 2016-06-26 22:44:04 -0400 | [diff] [blame] | 81 | msm-$(CONFIG_SYNC) += sde/sde_fence.o |
Rob Clark | 3e87599 | 2014-08-01 13:08:11 -0400 | [diff] [blame] | 82 | msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o |
Archit Taneja | ea18489 | 2016-02-25 11:22:39 +0530 | [diff] [blame] | 83 | msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o |
Archit Taneja | e17afdc | 2016-02-25 11:22:44 +0530 | [diff] [blame] | 84 | msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 85 | |
Rob Clark | feb46f0 | 2016-03-20 10:16:29 -0400 | [diff] [blame] | 86 | msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o |
| 87 | |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 88 | msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ |
Vinay Simha BN | 776638e | 2015-10-19 12:27:11 +0530 | [diff] [blame] | 89 | mdp/mdp4/mdp4_dsi_encoder.o \ |
Hai Li | d248b61 | 2015-08-13 17:49:29 -0400 | [diff] [blame] | 90 | dsi/dsi_cfg.o \ |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 91 | dsi/dsi_host.o \ |
| 92 | dsi/dsi_manager.o \ |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 93 | dsi/phy/dsi_phy.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 94 | dsi/dsi_manager.o \ |
Hai Li | d5af49c | 2015-03-26 19:25:17 -0400 | [diff] [blame] | 95 | mdp/mdp5/mdp5_cmd_encoder.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 96 | |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 97 | msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o |
| 98 | msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o |
Archit Taneja | 225380b | 2015-10-14 12:00:34 +0530 | [diff] [blame] | 99 | msm-$(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] | 100 | |
| 101 | ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y) |
| 102 | msm-y += dsi/pll/dsi_pll.o |
| 103 | msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o |
Archit Taneja | c6538de | 2015-10-14 12:03:44 +0530 | [diff] [blame] | 104 | msm-$(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] | 105 | endif |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 106 | msm-$(CONFIG_DRM_MSM_DSI_STAGING) += dsi-staging/dsi_phy.o \ |
| 107 | dsi-staging/dsi_clk_pwr.o \ |
| 108 | dsi-staging/dsi_phy.o \ |
| 109 | dsi-staging/dsi_phy_hw_v4_0.o \ |
| 110 | dsi-staging/dsi_ctrl_hw_1_4.o \ |
| 111 | dsi-staging/dsi_ctrl.o \ |
| 112 | dsi-staging/dsi_catalog.o \ |
| 113 | dsi-staging/dsi_drm.o \ |
Ajay Singh Parmar | d701915 | 2016-06-10 16:46:47 -0700 | [diff] [blame] | 114 | dsi-staging/dsi_display.o \ |
| 115 | dsi-staging/dsi_panel.o \ |
| 116 | dsi-staging/dsi_display_test.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 117 | |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 118 | obj-$(CONFIG_DRM_MSM) += msm.o |
Narendra Muppalla | 1b0b335 | 2015-09-29 10:16:51 -0700 | [diff] [blame] | 119 | |
| 120 | obj-$(CONFIG_DRM_MSM) += sde/sde_hw_catalog.o \ |
| 121 | sde/sde_hw_catalog_8996.o \ |
| 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 \ |
Clarence Ip | c475b08 | 2016-06-26 09:27:23 -0400 | [diff] [blame] | 134 | sde/sde_formats.o |
Clarence Ip | 8d5cbea | 2016-07-19 14:00:52 -0400 | [diff] [blame] | 135 | |
| 136 | obj-$(CONFIG_DRM_MSM) += display-manager/display_manager.o |
Alan Kwong | bb27c09 | 2016-07-20 16:41:25 -0400 | [diff] [blame] | 137 | |
| 138 | obj-$(CONFIG_DRM_SDE_WB) += sde/sde_wb.o \ |
| 139 | sde/sde_encoder_phys_wb.o |