Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Masahiro Yamada | 78f27b1 | 2017-04-24 13:50:28 +0900 | [diff] [blame] | 2 | ccflags-y := -Idrivers/gpu/drm/msm |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 3 | ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 4 | |
| 5 | msm-y := \ |
Rob Clark | bfd28b1 | 2014-09-05 13:06:37 -0400 | [diff] [blame] | 6 | adreno/adreno_device.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 7 | adreno/adreno_gpu.o \ |
| 8 | adreno/a3xx_gpu.o \ |
Aravind Ganesan | 23bd62f | 2014-09-08 13:40:16 -0600 | [diff] [blame] | 9 | adreno/a4xx_gpu.o \ |
Jordan Crouse | b5f103a | 2016-11-28 12:28:33 -0700 | [diff] [blame] | 10 | adreno/a5xx_gpu.o \ |
Jordan Crouse | 2401a00 | 2016-11-28 12:28:34 -0700 | [diff] [blame] | 11 | adreno/a5xx_power.o \ |
Jordan Crouse | b1fc283 | 2017-10-20 11:07:01 -0600 | [diff] [blame] | 12 | adreno/a5xx_preempt.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 13 | hdmi/hdmi.o \ |
Rob Clark | c0c0d9e | 2013-12-11 14:44:02 -0500 | [diff] [blame] | 14 | hdmi/hdmi_audio.o \ |
Rob Clark | a3376e3 | 2013-08-30 13:02:15 -0400 | [diff] [blame] | 15 | hdmi/hdmi_bridge.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 16 | hdmi/hdmi_connector.o \ |
| 17 | hdmi/hdmi_i2c.o \ |
Archit Taneja | 15b4a45 | 2016-02-25 11:22:38 +0530 | [diff] [blame] | 18 | hdmi/hdmi_phy.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 19 | hdmi/hdmi_phy_8960.o \ |
| 20 | hdmi/hdmi_phy_8x60.o \ |
Rob Clark | dada25b | 2013-12-01 12:12:54 -0500 | [diff] [blame] | 21 | hdmi/hdmi_phy_8x74.o \ |
Hai Li | ab5b010 | 2015-01-07 18:47:44 -0500 | [diff] [blame] | 22 | edp/edp.o \ |
| 23 | edp/edp_aux.o \ |
| 24 | edp/edp_bridge.o \ |
| 25 | edp/edp_connector.o \ |
| 26 | edp/edp_ctrl.o \ |
| 27 | edp/edp_phy.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame^] | 28 | disp/mdp_format.o \ |
| 29 | disp/mdp_kms.o \ |
| 30 | disp/mdp4/mdp4_crtc.o \ |
| 31 | disp/mdp4/mdp4_dtv_encoder.o \ |
| 32 | disp/mdp4/mdp4_lcdc_encoder.o \ |
| 33 | disp/mdp4/mdp4_lvds_connector.o \ |
| 34 | disp/mdp4/mdp4_irq.o \ |
| 35 | disp/mdp4/mdp4_kms.o \ |
| 36 | disp/mdp4/mdp4_plane.o \ |
| 37 | disp/mdp5/mdp5_cfg.o \ |
| 38 | disp/mdp5/mdp5_ctl.o \ |
| 39 | disp/mdp5/mdp5_crtc.o \ |
| 40 | disp/mdp5/mdp5_encoder.o \ |
| 41 | disp/mdp5/mdp5_irq.o \ |
| 42 | disp/mdp5/mdp5_mdss.o \ |
| 43 | disp/mdp5/mdp5_kms.o \ |
| 44 | disp/mdp5/mdp5_pipe.o \ |
| 45 | disp/mdp5/mdp5_mixer.o \ |
| 46 | disp/mdp5/mdp5_plane.o \ |
| 47 | disp/mdp5/mdp5_smp.o \ |
Rob Clark | cf3a7e4 | 2014-11-08 13:21:06 -0500 | [diff] [blame] | 48 | msm_atomic.o \ |
Rob Clark | edcd60c | 2016-03-16 12:56:12 -0400 | [diff] [blame] | 49 | msm_debugfs.o \ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 50 | msm_drv.o \ |
| 51 | msm_fb.o \ |
Rob Clark | fde5de6 | 2016-03-15 15:35:08 -0400 | [diff] [blame] | 52 | msm_fence.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 53 | msm_gem.o \ |
Rob Clark | 05b8491 | 2013-09-28 11:28:35 -0400 | [diff] [blame] | 54 | msm_gem_prime.o \ |
Rob Clark | 6820939 | 2016-05-17 16:19:32 -0400 | [diff] [blame] | 55 | msm_gem_shrinker.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 56 | msm_gem_submit.o \ |
Rob Clark | 667ce33 | 2016-09-28 19:58:32 -0400 | [diff] [blame] | 57 | msm_gem_vma.o \ |
Rob Clark | 7198e6b | 2013-07-19 12:59:32 -0400 | [diff] [blame] | 58 | msm_gpu.o \ |
Rob Clark | 871d812 | 2013-11-16 12:56:06 -0500 | [diff] [blame] | 59 | msm_iommu.o \ |
Rob Clark | 70c70f0 | 2014-05-30 14:49:43 -0400 | [diff] [blame] | 60 | msm_perf.o \ |
Rob Clark | a7d3c95 | 2014-05-30 14:47:38 -0400 | [diff] [blame] | 61 | msm_rd.o \ |
Jordan Crouse | f7de154 | 2017-10-20 11:06:55 -0600 | [diff] [blame] | 62 | msm_ringbuffer.o \ |
| 63 | msm_submitqueue.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 64 | |
Rob Clark | 331dc0b | 2017-12-13 15:12:56 -0500 | [diff] [blame] | 65 | msm-$(CONFIG_DEBUG_FS) += adreno/a5xx_debugfs.o |
| 66 | |
Archit Taneja | a9ee34b | 2015-07-13 12:12:07 +0530 | [diff] [blame] | 67 | msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame^] | 68 | msm-$(CONFIG_COMMON_CLK) += disp/mdp4/mdp4_lvds_pll.o |
Archit Taneja | ea18489 | 2016-02-25 11:22:39 +0530 | [diff] [blame] | 69 | msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o |
Archit Taneja | e17afdc | 2016-02-25 11:22:44 +0530 | [diff] [blame] | 70 | msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 71 | |
Rob Clark | feb46f0 | 2016-03-20 10:16:29 -0400 | [diff] [blame] | 72 | msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o |
| 73 | |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 74 | msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame^] | 75 | disp/mdp4/mdp4_dsi_encoder.o \ |
Hai Li | d248b61 | 2015-08-13 17:49:29 -0400 | [diff] [blame] | 76 | dsi/dsi_cfg.o \ |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 77 | dsi/dsi_host.o \ |
| 78 | dsi/dsi_manager.o \ |
Hai Li | 5c82902 | 2015-08-13 17:45:52 -0400 | [diff] [blame] | 79 | dsi/phy/dsi_phy.o \ |
Rob Clark | 14be320 | 2018-02-12 08:18:27 -0500 | [diff] [blame^] | 80 | disp/mdp5/mdp5_cmd_encoder.o |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 81 | |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 82 | msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o |
| 83 | 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] | 84 | 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] | 85 | 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] | 86 | msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/phy/dsi_phy_10nm.o |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 87 | |
| 88 | ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y) |
| 89 | msm-y += dsi/pll/dsi_pll.o |
| 90 | 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] | 91 | msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o |
Archit Taneja | f079f6d | 2017-01-03 19:45:43 +0530 | [diff] [blame] | 92 | msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/pll/dsi_pll_14nm.o |
Archit Taneja | 973e02d | 2018-01-17 11:35:25 +0530 | [diff] [blame] | 93 | msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/pll/dsi_pll_10nm.o |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 94 | endif |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 95 | |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 96 | obj-$(CONFIG_DRM_MSM) += msm.o |