Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Masahiro Yamada | 43068cb | 2019-03-29 20:32:41 +0900 | [diff] [blame] | 2 | ccflags-y := -I $(srctree)/$(src) |
| 3 | ccflags-y += -I $(srctree)/$(src)/disp/dpu1 |
| 4 | ccflags-$(CONFIG_DRM_MSM_DSI) += -I $(srctree)/$(src)/dsi |
Chandan Uddaraju | c943b49 | 2020-08-27 14:16:55 -0700 | [diff] [blame] | 5 | ccflags-$(CONFIG_DRM_MSM_DP) += -I $(srctree)/$(src)/dp |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 6 | |
| 7 | msm-y := \ |
Rob Clark | bfd28b1 | 2014-09-05 13:06:37 -0400 | [diff] [blame] | 8 | adreno/adreno_device.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 9 | adreno/adreno_gpu.o \ |
Jonathan Marek | 21af872 | 2018-11-21 20:52:32 -0500 | [diff] [blame] | 10 | adreno/a2xx_gpu.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 11 | adreno/a3xx_gpu.o \ |
Aravind Ganesan | 23bd62f | 2014-09-08 13:40:16 -0600 | [diff] [blame] | 12 | adreno/a4xx_gpu.o \ |
Jordan Crouse | b5f103a | 2016-11-28 12:28:33 -0700 | [diff] [blame] | 13 | adreno/a5xx_gpu.o \ |
Jordan Crouse | 2401a00 | 2016-11-28 12:28:34 -0700 | [diff] [blame] | 14 | adreno/a5xx_power.o \ |
Jordan Crouse | b1fc283 | 2017-10-20 11:07:01 -0600 | [diff] [blame] | 15 | adreno/a5xx_preempt.o \ |
Jordan Crouse | 4b565ca | 2018-08-06 11:33:24 -0600 | [diff] [blame] | 16 | adreno/a6xx_gpu.o \ |
| 17 | adreno/a6xx_gmu.o \ |
| 18 | adreno/a6xx_hfi.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 19 | hdmi/hdmi.o \ |
Rob Clark | c0c0d9e | 2013-12-11 14:44:02 -0500 | [diff] [blame] | 20 | hdmi/hdmi_audio.o \ |
Rob Clark | a3376e3 | 2013-08-30 13:02:15 -0400 | [diff] [blame] | 21 | hdmi/hdmi_bridge.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 22 | hdmi/hdmi_connector.o \ |
| 23 | hdmi/hdmi_i2c.o \ |
Archit Taneja | 15b4a45 | 2016-02-25 11:22:38 +0530 | [diff] [blame] | 24 | hdmi/hdmi_phy.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 25 | hdmi/hdmi_phy_8960.o \ |
Arnd Bergmann | afece15 | 2021-10-13 16:42:56 +0200 | [diff] [blame] | 26 | hdmi/hdmi_phy_8996.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 27 | hdmi/hdmi_phy_8x60.o \ |
Rob Clark | dada25b | 2013-12-01 12:12:54 -0500 | [diff] [blame] | 28 | hdmi/hdmi_phy_8x74.o \ |
Arnd Bergmann | afece15 | 2021-10-13 16:42:56 +0200 | [diff] [blame] | 29 | hdmi/hdmi_pll_8960.o \ |
Hai Li | ab5b010 | 2015-01-07 18:47:44 -0500 | [diff] [blame] | 30 | edp/edp.o \ |
| 31 | edp/edp_aux.o \ |
| 32 | edp/edp_bridge.o \ |
| 33 | edp/edp_connector.o \ |
| 34 | edp/edp_ctrl.o \ |
| 35 | edp/edp_phy.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame] | 36 | disp/mdp_format.o \ |
| 37 | disp/mdp_kms.o \ |
| 38 | disp/mdp4/mdp4_crtc.o \ |
| 39 | disp/mdp4/mdp4_dtv_encoder.o \ |
| 40 | disp/mdp4/mdp4_lcdc_encoder.o \ |
| 41 | disp/mdp4/mdp4_lvds_connector.o \ |
Arnd Bergmann | afece15 | 2021-10-13 16:42:56 +0200 | [diff] [blame] | 42 | disp/mdp4/mdp4_lvds_pll.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame] | 43 | disp/mdp4/mdp4_irq.o \ |
| 44 | disp/mdp4/mdp4_kms.o \ |
| 45 | disp/mdp4/mdp4_plane.o \ |
| 46 | disp/mdp5/mdp5_cfg.o \ |
| 47 | disp/mdp5/mdp5_ctl.o \ |
| 48 | disp/mdp5/mdp5_crtc.o \ |
| 49 | disp/mdp5/mdp5_encoder.o \ |
| 50 | disp/mdp5/mdp5_irq.o \ |
| 51 | disp/mdp5/mdp5_mdss.o \ |
| 52 | disp/mdp5/mdp5_kms.o \ |
| 53 | disp/mdp5/mdp5_pipe.o \ |
| 54 | disp/mdp5/mdp5_mixer.o \ |
| 55 | disp/mdp5/mdp5_plane.o \ |
| 56 | disp/mdp5/mdp5_smp.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 57 | disp/dpu1/dpu_core_perf.o \ |
| 58 | disp/dpu1/dpu_crtc.o \ |
| 59 | disp/dpu1/dpu_encoder.o \ |
| 60 | disp/dpu1/dpu_encoder_phys_cmd.o \ |
| 61 | disp/dpu1/dpu_encoder_phys_vid.o \ |
| 62 | disp/dpu1/dpu_formats.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 63 | disp/dpu1/dpu_hw_catalog.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 64 | disp/dpu1/dpu_hw_ctl.o \ |
| 65 | disp/dpu1/dpu_hw_interrupts.o \ |
| 66 | disp/dpu1/dpu_hw_intf.o \ |
| 67 | disp/dpu1/dpu_hw_lm.o \ |
| 68 | disp/dpu1/dpu_hw_pingpong.o \ |
| 69 | disp/dpu1/dpu_hw_sspp.o \ |
Kalyan Thota | e47616d | 2020-03-24 15:31:18 +0530 | [diff] [blame] | 70 | disp/dpu1/dpu_hw_dspp.o \ |
Dmitry Baryshkov | 4369c93 | 2020-10-22 16:16:55 +0300 | [diff] [blame] | 71 | disp/dpu1/dpu_hw_merge3d.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 72 | disp/dpu1/dpu_hw_top.o \ |
| 73 | disp/dpu1/dpu_hw_util.o \ |
| 74 | disp/dpu1/dpu_hw_vbif.o \ |
| 75 | disp/dpu1/dpu_io_util.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 76 | disp/dpu1/dpu_kms.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 77 | disp/dpu1/dpu_mdss.o \ |
| 78 | disp/dpu1/dpu_plane.o \ |
Jeykumar Sankaran | 25fdd59 | 2018-06-27 15:26:09 -0400 | [diff] [blame] | 79 | disp/dpu1/dpu_rm.o \ |
| 80 | disp/dpu1/dpu_vbif.o \ |
Abhinav Kumar | 9865948 | 2021-04-16 13:57:20 -0700 | [diff] [blame] | 81 | disp/msm_disp_snapshot.o \ |
| 82 | disp/msm_disp_snapshot_util.o \ |
Rob Clark | cf3a7e4 | 2014-11-08 13:21:06 -0500 | [diff] [blame] | 83 | msm_atomic.o \ |
Rob Clark | d934a71 | 2019-08-29 09:45:18 -0700 | [diff] [blame] | 84 | msm_atomic_tracepoints.o \ |
Rob Clark | edcd60c | 2016-03-16 12:56:12 -0400 | [diff] [blame] | 85 | msm_debugfs.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 86 | msm_drv.o \ |
| 87 | msm_fb.o \ |
Rob Clark | fde5de6 | 2016-03-15 15:35:08 -0400 | [diff] [blame] | 88 | msm_fence.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 89 | msm_gem.o \ |
Rob Clark | 05b8491 | 2013-09-28 11:28:35 -0400 | [diff] [blame] | 90 | msm_gem_prime.o \ |
Rob Clark | 6820939 | 2016-05-17 16:19:32 -0400 | [diff] [blame] | 91 | msm_gem_shrinker.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 92 | msm_gem_submit.o \ |
Rob Clark | 667ce33 | 2016-09-28 19:58:32 -0400 | [diff] [blame] | 93 | msm_gem_vma.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 94 | msm_gpu.o \ |
Rob Clark | af5b4ff | 2021-07-26 07:46:48 -0700 | [diff] [blame] | 95 | msm_gpu_devfreq.o \ |
Rob Clark | 871d812 | 2013-11-16 12:56:06 -0500 | [diff] [blame] | 96 | msm_iommu.o \ |
Rob Clark | 70c70f0 | 2014-05-30 14:49:43 -0400 | [diff] [blame] | 97 | msm_perf.o \ |
Rob Clark | a7d3c95 | 2014-05-30 14:47:38 -0400 | [diff] [blame] | 98 | msm_rd.o \ |
Jordan Crouse | f7de154 | 2017-10-20 11:06:55 -0600 | [diff] [blame] | 99 | msm_ringbuffer.o \ |
Jordan Crouse | 4241db4 | 2018-11-02 09:25:21 -0600 | [diff] [blame] | 100 | msm_submitqueue.o \ |
Jonathan Marek | c2052a4 | 2018-11-14 17:08:04 -0500 | [diff] [blame] | 101 | msm_gpu_tracepoints.o \ |
| 102 | msm_gpummu.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 103 | |
Abhinav Kumar | d11a936 | 2020-09-12 14:08:12 -0700 | [diff] [blame] | 104 | msm-$(CONFIG_DEBUG_FS) += adreno/a5xx_debugfs.o \ |
| 105 | dp/dp_debug.o |
Rob Clark | 331dc0b | 2017-12-13 15:12:56 -0500 | [diff] [blame] | 106 | |
Jordan Crouse | b02872d | 2019-04-10 10:58:16 -0600 | [diff] [blame] | 107 | msm-$(CONFIG_DRM_MSM_GPU_STATE) += adreno/a6xx_gpu_state.o |
| 108 | |
Chandan Uddaraju | c943b49 | 2020-08-27 14:16:55 -0700 | [diff] [blame] | 109 | msm-$(CONFIG_DRM_MSM_DP)+= dp/dp_aux.o \ |
| 110 | dp/dp_catalog.o \ |
| 111 | dp/dp_ctrl.o \ |
| 112 | dp/dp_display.o \ |
| 113 | dp/dp_drm.o \ |
| 114 | dp/dp_hpd.o \ |
| 115 | dp/dp_link.o \ |
| 116 | dp/dp_panel.o \ |
| 117 | dp/dp_parser.o \ |
Chandan Uddaraju | 14975cf | 2020-08-27 14:16:56 -0700 | [diff] [blame] | 118 | dp/dp_power.o \ |
Abhinav Kumar | d13e36d | 2020-09-12 13:49:29 -0700 | [diff] [blame] | 119 | dp/dp_audio.o |
Chandan Uddaraju | c943b49 | 2020-08-27 14:16:55 -0700 | [diff] [blame] | 120 | |
Archit Taneja | a9ee34b | 2015-07-13 12:12:07 +0530 | [diff] [blame] | 121 | msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 122 | |
Rob Clark | feb46f0 | 2016-03-20 10:16:29 -0400 | [diff] [blame] | 123 | msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o |
| 124 | |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 125 | msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame] | 126 | disp/mdp4/mdp4_dsi_encoder.o \ |
Hai Li | d248b61 | 2015-08-13 17:49:29 -0400 | [diff] [blame] | 127 | dsi/dsi_cfg.o \ |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 128 | dsi/dsi_host.o \ |
| 129 | dsi/dsi_manager.o \ |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 130 | dsi/phy/dsi_phy.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame] | 131 | disp/mdp5/mdp5_cmd_encoder.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 132 | |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 133 | msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o |
| 134 | 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] | 135 | msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o |
Archit Taneja | f079f6d | 2017-01-03 19:45:43 +0530 | [diff] [blame] | 136 | msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o |
Archit Taneja | 973e02d | 2018-01-17 11:35:25 +0530 | [diff] [blame] | 137 | msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/phy/dsi_phy_10nm.o |
Jonathan Marek | 1ef7c99 | 2020-09-11 11:09:39 -0400 | [diff] [blame] | 138 | msm-$(CONFIG_DRM_MSM_DSI_7NM_PHY) += dsi/phy/dsi_phy_7nm.o |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 139 | |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 140 | obj-$(CONFIG_DRM_MSM) += msm.o |