14562236bSHarry Wentland# 2e2874a3cSAlex Deucher# Copyright 2017 Advanced Micro Devices, Inc. 3e2874a3cSAlex Deucher# 4e2874a3cSAlex Deucher# Permission is hereby granted, free of charge, to any person obtaining a 5e2874a3cSAlex Deucher# copy of this software and associated documentation files (the "Software"), 6e2874a3cSAlex Deucher# to deal in the Software without restriction, including without limitation 7e2874a3cSAlex Deucher# the rights to use, copy, modify, merge, publish, distribute, sublicense, 8e2874a3cSAlex Deucher# and/or sell copies of the Software, and to permit persons to whom the 9e2874a3cSAlex Deucher# Software is furnished to do so, subject to the following conditions: 10e2874a3cSAlex Deucher# 11e2874a3cSAlex Deucher# The above copyright notice and this permission notice shall be included in 12e2874a3cSAlex Deucher# all copies or substantial portions of the Software. 13e2874a3cSAlex Deucher# 14e2874a3cSAlex Deucher# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15e2874a3cSAlex Deucher# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16e2874a3cSAlex Deucher# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17e2874a3cSAlex Deucher# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18e2874a3cSAlex Deucher# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19e2874a3cSAlex Deucher# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20e2874a3cSAlex Deucher# OTHER DEALINGS IN THE SOFTWARE. 21e2874a3cSAlex Deucher# 22e2874a3cSAlex Deucher# 234562236bSHarry Wentland# Makefile for the 'dm' sub-component of DAL. 244562236bSHarry Wentland# It provides the control and status of dm blocks. 254562236bSHarry Wentland 264562236bSHarry Wentland 274562236bSHarry Wentland 2880af8859SHarry Wentlandifneq ($(CONFIG_DRM_AMD_DC),) 295d945cbcSRodrigo SiqueiraAMDGPUDM = \ 305d945cbcSRodrigo Siqueira amdgpu_dm.o \ 315d945cbcSRodrigo Siqueira amdgpu_dm_plane.o \ 32473683a0SRodrigo Siqueira amdgpu_dm_crtc.o \ 335d945cbcSRodrigo Siqueira amdgpu_dm_irq.o \ 345d945cbcSRodrigo Siqueira amdgpu_dm_mst_types.o \ 3580af8859SHarry Wentland amdgpu_dm_color.o \ 3680af8859SHarry Wentland amdgpu_dm_services.o \ 3780af8859SHarry Wentland amdgpu_dm_helpers.o \ 3880af8859SHarry Wentland amdgpu_dm_pp_smu.o \ 3980af8859SHarry Wentland amdgpu_dm_psr.o \ 40dfc03588SAlex Hung amdgpu_dm_replay.o \ 41de6485e3SMario Limonciello amdgpu_dm_quirks.o \ 42*9ba25915SAlex Hung amdgpu_dm_wb.o \ 43*9ba25915SAlex Hung amdgpu_dm_colorop.o 444562236bSHarry Wentland 454652ae7aSHarry Wentlandifdef CONFIG_DRM_AMD_DC_FP 4696ee6373SRodrigo SiqueiraAMDGPUDM += dc_fpu.o 4796ee6373SRodrigo Siqueiraendif 4896ee6373SRodrigo Siqueira 49a193ed20SBhawanpreet LakhaAMDGPUDM += amdgpu_dm_hdcp.o 50a193ed20SBhawanpreet Lakha 5131aec354SLeo (Sunpeng) Liifneq ($(CONFIG_DEBUG_FS),) 52dc38fd9dSDavid FrancisAMDGPUDM += amdgpu_dm_crc.o amdgpu_dm_debugfs.o 5331aec354SLeo (Sunpeng) Liendif 5431aec354SLeo (Sunpeng) Li 554562236bSHarry Wentlandsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc 564562236bSHarry Wentland 574562236bSHarry WentlandAMDGPU_DM = $(addprefix $(AMDDALPATH)/amdgpu_dm/,$(AMDGPUDM)) 584562236bSHarry Wentland 594562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMDGPU_DM) 6080af8859SHarry Wentlandendif 61