blob: 093454457545f14424408c8ea7393e332b9f1c4d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Masahiro Yamada43068cb2019-03-29 20:32:41 +09002ccflags-y := -I $(srctree)/$(src)
3ccflags-y += -I $(srctree)/$(src)/disp/dpu1
4ccflags-$(CONFIG_DRM_MSM_DSI) += -I $(srctree)/$(src)/dsi
Chandan Uddarajuc943b492020-08-27 14:16:55 -07005ccflags-$(CONFIG_DRM_MSM_DP) += -I $(srctree)/$(src)/dp
Rob Clarkc8afe682013-06-26 12:44:06 -04006
7msm-y := \
Rob Clarkbfd28b12014-09-05 13:06:37 -04008 adreno/adreno_device.o \
Rob Clark7198e6b2013-07-19 12:59:32 -04009 adreno/adreno_gpu.o \
Jonathan Marek21af8722018-11-21 20:52:32 -050010 adreno/a2xx_gpu.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040011 adreno/a3xx_gpu.o \
Aravind Ganesan23bd62f2014-09-08 13:40:16 -060012 adreno/a4xx_gpu.o \
Jordan Crouseb5f103a2016-11-28 12:28:33 -070013 adreno/a5xx_gpu.o \
Jordan Crouse2401a002016-11-28 12:28:34 -070014 adreno/a5xx_power.o \
Jordan Crouseb1fc2832017-10-20 11:07:01 -060015 adreno/a5xx_preempt.o \
Jordan Crouse4b565ca2018-08-06 11:33:24 -060016 adreno/a6xx_gpu.o \
17 adreno/a6xx_gmu.o \
18 adreno/a6xx_hfi.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040019 hdmi/hdmi.o \
Rob Clarkc0c0d9e2013-12-11 14:44:02 -050020 hdmi/hdmi_audio.o \
Rob Clarka3376e32013-08-30 13:02:15 -040021 hdmi/hdmi_bridge.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040022 hdmi/hdmi_connector.o \
23 hdmi/hdmi_i2c.o \
Archit Taneja15b4a452016-02-25 11:22:38 +053024 hdmi/hdmi_phy.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040025 hdmi/hdmi_phy_8960.o \
Arnd Bergmannafece152021-10-13 16:42:56 +020026 hdmi/hdmi_phy_8996.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040027 hdmi/hdmi_phy_8x60.o \
Rob Clarkdada25b2013-12-01 12:12:54 -050028 hdmi/hdmi_phy_8x74.o \
Arnd Bergmannafece152021-10-13 16:42:56 +020029 hdmi/hdmi_pll_8960.o \
Hai Liab5b0102015-01-07 18:47:44 -050030 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 Clark14be3202018-02-12 08:18:27 -050036 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 Bergmannafece152021-10-13 16:42:56 +020042 disp/mdp4/mdp4_lvds_pll.o \
Rob Clark14be3202018-02-12 08:18:27 -050043 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 Sankaran25fdd592018-06-27 15:26:09 -040057 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 Sankaran25fdd592018-06-27 15:26:09 -040063 disp/dpu1/dpu_hw_catalog.o \
Jeykumar Sankaran25fdd592018-06-27 15:26:09 -040064 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 Thotae47616d2020-03-24 15:31:18 +053070 disp/dpu1/dpu_hw_dspp.o \
Dmitry Baryshkov4369c932020-10-22 16:16:55 +030071 disp/dpu1/dpu_hw_merge3d.o \
Jeykumar Sankaran25fdd592018-06-27 15:26:09 -040072 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 Sankaran25fdd592018-06-27 15:26:09 -040076 disp/dpu1/dpu_kms.o \
Jeykumar Sankaran25fdd592018-06-27 15:26:09 -040077 disp/dpu1/dpu_mdss.o \
78 disp/dpu1/dpu_plane.o \
Jeykumar Sankaran25fdd592018-06-27 15:26:09 -040079 disp/dpu1/dpu_rm.o \
80 disp/dpu1/dpu_vbif.o \
Abhinav Kumar98659482021-04-16 13:57:20 -070081 disp/msm_disp_snapshot.o \
82 disp/msm_disp_snapshot_util.o \
Rob Clarkcf3a7e42014-11-08 13:21:06 -050083 msm_atomic.o \
Rob Clarkd934a712019-08-29 09:45:18 -070084 msm_atomic_tracepoints.o \
Rob Clarkedcd60c2016-03-16 12:56:12 -040085 msm_debugfs.o \
Rob Clarkc8afe682013-06-26 12:44:06 -040086 msm_drv.o \
87 msm_fb.o \
Rob Clarkfde5de62016-03-15 15:35:08 -040088 msm_fence.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040089 msm_gem.o \
Rob Clark05b84912013-09-28 11:28:35 -040090 msm_gem_prime.o \
Rob Clark68209392016-05-17 16:19:32 -040091 msm_gem_shrinker.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040092 msm_gem_submit.o \
Rob Clark667ce332016-09-28 19:58:32 -040093 msm_gem_vma.o \
Rob Clark7198e6b2013-07-19 12:59:32 -040094 msm_gpu.o \
Rob Clarkaf5b4ff2021-07-26 07:46:48 -070095 msm_gpu_devfreq.o \
Rob Clark871d8122013-11-16 12:56:06 -050096 msm_iommu.o \
Rob Clark70c70f02014-05-30 14:49:43 -040097 msm_perf.o \
Rob Clarka7d3c952014-05-30 14:47:38 -040098 msm_rd.o \
Jordan Crousef7de1542017-10-20 11:06:55 -060099 msm_ringbuffer.o \
Jordan Crouse4241db42018-11-02 09:25:21 -0600100 msm_submitqueue.o \
Jonathan Marekc2052a42018-11-14 17:08:04 -0500101 msm_gpu_tracepoints.o \
102 msm_gpummu.o
Rob Clarkc8afe682013-06-26 12:44:06 -0400103
Abhinav Kumard11a9362020-09-12 14:08:12 -0700104msm-$(CONFIG_DEBUG_FS) += adreno/a5xx_debugfs.o \
105 dp/dp_debug.o
Rob Clark331dc0b2017-12-13 15:12:56 -0500106
Jordan Crouseb02872d2019-04-10 10:58:16 -0600107msm-$(CONFIG_DRM_MSM_GPU_STATE) += adreno/a6xx_gpu_state.o
108
Chandan Uddarajuc943b492020-08-27 14:16:55 -0700109msm-$(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 Uddaraju14975cf2020-08-27 14:16:56 -0700118 dp/dp_power.o \
Abhinav Kumard13e36d2020-09-12 13:49:29 -0700119 dp/dp_audio.o
Chandan Uddarajuc943b492020-08-27 14:16:55 -0700120
Archit Tanejaa9ee34b2015-07-13 12:12:07 +0530121msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
Hai Li825637b2015-05-15 13:04:04 -0400122
Rob Clarkfeb46f02016-03-20 10:16:29 -0400123msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o
124
Hai Lia6895542015-03-31 14:36:33 -0400125msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
Rob Clark14be3202018-02-12 08:18:27 -0500126 disp/mdp4/mdp4_dsi_encoder.o \
Hai Lid248b612015-08-13 17:49:29 -0400127 dsi/dsi_cfg.o \
Hai Lia6895542015-03-31 14:36:33 -0400128 dsi/dsi_host.o \
129 dsi/dsi_manager.o \
Hai Li5c829022015-08-13 17:45:52 -0400130 dsi/phy/dsi_phy.o \
Rob Clark14be3202018-02-12 08:18:27 -0500131 disp/mdp5/mdp5_cmd_encoder.o
Rob Clarkc8afe682013-06-26 12:44:06 -0400132
Hai Li1bf4d7c2015-08-13 17:45:53 -0400133msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
134msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
Archit Taneja225380b2015-10-14 12:00:34 +0530135msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
Archit Tanejaf079f6d2017-01-03 19:45:43 +0530136msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o
Archit Taneja973e02d2018-01-17 11:35:25 +0530137msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/phy/dsi_phy_10nm.o
Jonathan Marek1ef7c992020-09-11 11:09:39 -0400138msm-$(CONFIG_DRM_MSM_DSI_7NM_PHY) += dsi/phy/dsi_phy_7nm.o
Hai Li1bf4d7c2015-08-13 17:45:53 -0400139
Rob Clarkc8afe682013-06-26 12:44:06 -0400140obj-$(CONFIG_DRM_MSM) += msm.o