You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
242 lines
6.3 KiB
242 lines
6.3 KiB
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm -Idrivers/gpu/drm/msm/dsi-staging -Idrivers/gpu/drm/msm/dp
|
|
ccflags-y += -Idrivers/gpu/drm/msm/display-manager
|
|
ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
|
|
ccflags-$(CONFIG_DRM_MSM_DSI_PLL) += -Idrivers/gpu/drm/msm/dsi
|
|
ccflags-y += -Idrivers/gpu/drm/msm/sde
|
|
ccflags-y += -Idrivers/media/platform/msm/sde/rotator
|
|
ccflags-y += -Idrivers/gpu/drm/msm/hdmi
|
|
ccflags-$(CONFIG_DRM_SDE_SHD) += -Idrivers/gpu/drm/msm/shd
|
|
ccflags-$(CONFIG_DRM_SDE_SHP) += -Idrivers/gpu/drm/msm/shp
|
|
|
|
ccflags-$(CONFIG_DISPLAY_SAMSUNG) += -Idrivers/gpu/drm/msm/samsung
|
|
|
|
ifeq ($(CONFIG_DISPLAY_SAMSUNG_LEGO),y)
|
|
ccflags-y += -I$(srctree)/include/drm
|
|
ccflags-y += -I$(srctree)/drivers/gpu/drm/msm
|
|
ccflags-y += -I$(srctree)/drivers/gpu/drm/msm/dsi-staging
|
|
ccflags-y += -I$(srctree)/drivers/gpu/drm/msm/sde
|
|
ccflags-y += -I$(srctree)/drivers/clk/qcom/
|
|
ccflags-y += -I$(srctree)/drivers/gpu/drm/msm/samsung_lego
|
|
endif
|
|
|
|
msm_drm-y := \
|
|
dp/dp_usbpd.o \
|
|
dp/dp_parser.o \
|
|
dp/dp_power.o \
|
|
dp/dp_catalog.o \
|
|
dp/dp_catalog_v420.o \
|
|
dp/dp_catalog_v200.o \
|
|
dp/dp_aux.o \
|
|
dp/dp_panel.o \
|
|
dp/dp_link.o \
|
|
dp/dp_ctrl.o \
|
|
dp/dp_audio.o \
|
|
dp/dp_debug.o \
|
|
dp/dp_mst_sim_helper.o \
|
|
dp/dp_mst_sim.o \
|
|
dp/dp_hpd.o \
|
|
dp/dp_aux_bridge.o \
|
|
dp/dp_bridge_hpd.o \
|
|
dp/dp_gpio_hpd.o \
|
|
dp/dp_lphw_hpd.o \
|
|
dp/dp_display.o \
|
|
dp/dp_drm.o \
|
|
dp/dp_hdcp2p2.o \
|
|
dp/dp_mst_drm.o \
|
|
sde/sde_crtc.o \
|
|
sde/sde_encoder.o \
|
|
sde/sde_encoder_phys_vid.o \
|
|
sde/sde_encoder_phys_cmd.o \
|
|
sde/sde_irq.o \
|
|
sde/sde_core_irq.o \
|
|
sde/sde_core_perf.o \
|
|
sde/sde_rm.o \
|
|
sde/sde_kms_utils.o \
|
|
sde/sde_kms.o \
|
|
sde/sde_plane.o \
|
|
sde/sde_connector.o \
|
|
sde/sde_color_processing.o \
|
|
sde/sde_vbif.o \
|
|
sde_io_util.o \
|
|
sde/sde_hw_reg_dma_v1_color_proc.o \
|
|
sde/sde_hw_color_proc_v4.o \
|
|
sde/sde_hw_ad4.o \
|
|
sde_edid_parser.o \
|
|
sde_hdcp_1x.o \
|
|
sde_hdcp_2x.o \
|
|
sde_dbg.o \
|
|
sde_dbg_evtlog.o \
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi.o \
|
|
hdmi/hdmi_audio.o \
|
|
hdmi/hdmi_bridge.o \
|
|
hdmi/hdmi_connector.o \
|
|
hdmi/hdmi_i2c.o \
|
|
hdmi/hdmi_phy.o \
|
|
hdmi/hdmi_phy_8960.o \
|
|
hdmi/hdmi_phy_8x60.o \
|
|
hdmi/hdmi_phy_8x74.o \
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_EDP) += edp/edp.o \
|
|
edp/edp_aux.o \
|
|
edp/edp_bridge.o \
|
|
edp/edp_connector.o \
|
|
edp/edp_ctrl.o \
|
|
edp/edp_phy.o \
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_MDP5) += mdp/mdp_format.o \
|
|
mdp/mdp_kms.o \
|
|
mdp/mdp5/mdp5_cfg.o \
|
|
mdp/mdp5/mdp5_ctl.o \
|
|
mdp/mdp5/mdp5_crtc.o \
|
|
mdp/mdp5/mdp5_encoder.o \
|
|
mdp/mdp5/mdp5_irq.o \
|
|
mdp/mdp5/mdp5_mdss.o \
|
|
mdp/mdp5/mdp5_kms.o \
|
|
mdp/mdp5/mdp5_pipe.o \
|
|
mdp/mdp5/mdp5_mixer.o \
|
|
mdp/mdp5/mdp5_plane.o \
|
|
mdp/mdp5/mdp5_smp.o \
|
|
|
|
msm_drm-$(CONFIG_DRM_SDE_RSC) += sde_rsc.o \
|
|
sde_rsc_hw.o \
|
|
sde_rsc_hw_v3.o \
|
|
|
|
# use drm gpu driver only if qcom_kgsl driver not available
|
|
ifneq ($(CONFIG_QCOM_KGSL),y)
|
|
msm_drm-y += adreno/adreno_device.o \
|
|
adreno/adreno_gpu.o \
|
|
adreno/a3xx_gpu.o \
|
|
adreno/a4xx_gpu.o \
|
|
adreno/a5xx_gpu.o \
|
|
adreno/a5xx_power.o
|
|
endif
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_MDP4) += mdp/mdp4/mdp4_crtc.o \
|
|
mdp/mdp4/mdp4_dtv_encoder.o \
|
|
mdp/mdp4/mdp4_lcdc_encoder.o \
|
|
mdp/mdp4/mdp4_lvds_connector.o \
|
|
mdp/mdp4/mdp4_irq.o \
|
|
mdp/mdp4/mdp4_kms.o \
|
|
mdp/mdp4/mdp4_dsi_encoder.o \
|
|
mdp/mdp4/mdp4_plane.o
|
|
|
|
msm_drm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
|
|
msm_drm-$(CONFIG_SYNC_FILE) += sde/sde_fence.o
|
|
msm_drm-$(CONFIG_DRM_MSM_MDP4) += mdp/mdp4/mdp4_lvds_pll.o
|
|
msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi_pll_8960.o
|
|
msm_drm-$(CONFIG_DRM_MSM_HDMI) += hdmi/hdmi_phy_8996.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
|
|
mdp/mdp4/mdp4_dsi_encoder.o \
|
|
dsi/dsi_cfg.o \
|
|
dsi/dsi_host.o \
|
|
dsi/dsi_manager.o \
|
|
dsi/phy/dsi_phy.o \
|
|
dsi/dsi_manager.o \
|
|
mdp/mdp5/mdp5_cmd_encoder.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o
|
|
|
|
ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
|
|
msm_drm-y += dsi/pll/dsi_pll.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/pll/dsi_pll_14nm.o
|
|
endif
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_STAGING) += dsi-staging/dsi_phy.o \
|
|
dsi-staging/dsi_pwr.o \
|
|
dsi-staging/dsi_phy.o \
|
|
dsi-staging/dsi_phy_hw_v2_0.o \
|
|
dsi-staging/dsi_phy_hw_v3_0.o \
|
|
dsi-staging/dsi_phy_hw_v4_0.o \
|
|
dsi-staging/dsi_phy_timing_calc.o \
|
|
dsi-staging/dsi_phy_timing_v2_0.o \
|
|
dsi-staging/dsi_phy_timing_v3_0.o \
|
|
dsi-staging/dsi_phy_timing_v4_0.o \
|
|
dsi-staging/dsi_ctrl_hw_cmn.o \
|
|
dsi-staging/dsi_ctrl_hw_1_4.o \
|
|
dsi-staging/dsi_ctrl_hw_2_0.o \
|
|
dsi-staging/dsi_ctrl_hw_2_2.o \
|
|
dsi-staging/dsi_ctrl.o \
|
|
dsi-staging/dsi_catalog.o \
|
|
dsi-staging/dsi_drm.o \
|
|
dsi-staging/dsi_display.o \
|
|
dsi-staging/dsi_panel.o \
|
|
dsi-staging/dsi_clk_manager.o \
|
|
dsi-staging/dsi_display_test.o
|
|
|
|
msm_drm-$(CONFIG_DSI_PARSER) += dsi-staging/dsi_parser.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM_DSI_PLL) += dsi/pll/dsi_pll.o \
|
|
dsi/pll/dsi_pll_28nm.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM) += \
|
|
sde/sde_hw_catalog.o \
|
|
sde/sde_hw_cdm.o \
|
|
sde/sde_hw_dspp.o \
|
|
sde/sde_hw_intf.o \
|
|
sde/sde_hw_lm.o \
|
|
sde/sde_hw_ctl.o \
|
|
sde/sde_hw_util.o \
|
|
sde/sde_hw_sspp.o \
|
|
sde/sde_hw_wb.o \
|
|
sde/sde_hw_rot.o \
|
|
sde/sde_hw_pingpong.o \
|
|
sde/sde_hw_top.o \
|
|
sde/sde_hw_interrupts.o \
|
|
sde/sde_hw_vbif.o \
|
|
sde/sde_hw_blk.o \
|
|
sde/sde_formats.o \
|
|
sde_power_handle.o \
|
|
sde/sde_hw_color_processing_v1_7.o \
|
|
sde/sde_reg_dma.o \
|
|
sde/sde_hw_reg_dma_v1.o \
|
|
sde/sde_hw_dsc.o \
|
|
sde/sde_hw_ds.o \
|
|
sde/sde_hw_qdss.o
|
|
|
|
msm_drm-$(CONFIG_DRM_SDE_WB) += sde/sde_wb.o \
|
|
sde/sde_encoder_phys_wb.o
|
|
|
|
msm_drm-$(CONFIG_DRM_SDE_SHD) += shd/shd_drm.o \
|
|
shd/shd_hw.o \
|
|
shd/sde_encoder_phys_shd.o
|
|
|
|
msm_drm-$(CONFIG_DRM_SDE_SHP) += shp/shp_drm.o
|
|
|
|
msm_drm-$(CONFIG_DRM_MSM) += \
|
|
msm_atomic.o \
|
|
msm_drv.o \
|
|
msm_fb.o \
|
|
msm_gem.o \
|
|
msm_gem_prime.o \
|
|
msm_gem_submit.o \
|
|
msm_gem_shrinker.o \
|
|
msm_gem_vma.o\
|
|
msm_gpu.o \
|
|
msm_iommu.o \
|
|
msm_smmu.o \
|
|
msm_perf.o \
|
|
msm_rd.o \
|
|
msm_ringbuffer.o \
|
|
msm_prop.o \
|
|
msm_fence.o \
|
|
msm_debugfs.o
|
|
|
|
obj-$(CONFIG_DRM_MSM) += msm_drm.o
|
|
|
|
ifeq ($(CONFIG_DISPLAY_SAMSUNG),y)
|
|
obj-y += samsung/
|
|
else ifeq ($(CONFIG_DISPLAY_SAMSUNG_LEGO),y)
|
|
obj-y += samsung_lego/
|
|
else
|
|
obj-y += samsung/
|
|
endif
|
|
|
|
|