mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
drm/amd/display: Refactor resource into component directory
[WHY] Move all resource files to unique folder resource. [HOW] Created resource folder in dc, moved the dcnxx_resource.c and dcnxx_resource.h files into corresponding new folders inside the resource and made appropriate changes for compilation in Makefiles. Reviewed-by: Martin Leung <martin.leung@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Mounika Adhuri <moadhuri@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c41028a2a1
commit
8b8eed05a1
68 changed files with 276 additions and 181 deletions
|
@ -30,6 +30,7 @@ subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/
|
|||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hw
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/clk_mgr
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hwss
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/resource
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync
|
||||
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/color
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "amdgpu_dm_debugfs.h"
|
||||
#endif
|
||||
|
||||
#include "dc/dcn20/dcn20_resource.h"
|
||||
#include "dc/resource/dcn20/dcn20_resource.h"
|
||||
|
||||
#define PEAK_FACTOR_X1000 1006
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
# Makefile for Display Core (dc) component.
|
||||
|
||||
DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc
|
||||
DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource
|
||||
|
||||
ifdef CONFIG_DRM_AMD_DC_FP
|
||||
|
||||
|
@ -38,8 +38,6 @@ DC_LIBS += dcn302
|
|||
DC_LIBS += dcn303
|
||||
DC_LIBS += dcn31
|
||||
DC_LIBS += dcn314
|
||||
DC_LIBS += dcn315
|
||||
DC_LIBS += dcn316
|
||||
DC_LIBS += dcn32
|
||||
DC_LIBS += dcn321
|
||||
DC_LIBS += dcn35
|
||||
|
@ -51,7 +49,6 @@ DC_LIBS += dce120
|
|||
|
||||
DC_LIBS += dce112
|
||||
DC_LIBS += dce110
|
||||
DC_LIBS += dce100
|
||||
DC_LIBS += dce80
|
||||
|
||||
ifdef CONFIG_DRM_AMD_DC_SI
|
||||
|
|
|
@ -69,8 +69,8 @@
|
|||
#include "dcn314/dcn314_resource.h"
|
||||
#include "dcn315/dcn315_resource.h"
|
||||
#include "dcn316/dcn316_resource.h"
|
||||
#include "../dcn32/dcn32_resource.h"
|
||||
#include "../dcn321/dcn321_resource.h"
|
||||
#include "dcn32/dcn32_resource.h"
|
||||
#include "dcn321/dcn321_resource.h"
|
||||
#include "dcn35/dcn35_resource.h"
|
||||
|
||||
#define VISUAL_CONFIRM_BASE_DEFAULT 3
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
#
|
||||
# Copyright 2017 Advanced Micro Devices, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
#
|
||||
# Makefile for the 'controller' sub-component of DAL.
|
||||
# It provides the control and status of HW CRTC block.
|
||||
|
||||
CFLAGS_$(AMDDALPATH)/dc/dce100/dce100_resource.o = $(call cc-disable-warning, override-init)
|
||||
|
||||
DCE100 = dce100_resource.o
|
||||
|
||||
AMD_DAL_DCE100 = $(addprefix $(AMDDALPATH)/dc/dce100/,$(DCE100))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_DCE100)
|
||||
|
||||
|
||||
###############################################################################
|
||||
# DCE 10x
|
||||
###############################################################################
|
||||
ifdef 0#CONFIG_DRM_AMD_DC_DCE11_0
|
||||
TG_DCE100 = dce100_resource.o
|
||||
|
||||
AMD_DAL_TG_DCE100 = $(addprefix \
|
||||
$(AMDDALPATH)/dc/dce100/,$(TG_DCE100))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_TG_DCE100)
|
||||
endif
|
||||
|
|
@ -26,8 +26,8 @@
|
|||
CFLAGS_$(AMDDALPATH)/dc/dce110/dce110_resource.o = $(call cc-disable-warning, override-init)
|
||||
|
||||
DCE110 = dce110_timing_generator.o \
|
||||
dce110_compressor.o dce110_resource.o \
|
||||
dce110_opp_regamma_v.o dce110_opp_csc_v.o dce110_timing_generator_v.o \
|
||||
dce110_compressor.o dce110_opp_regamma_v.o \
|
||||
dce110_opp_csc_v.o dce110_timing_generator_v.o \
|
||||
dce110_mem_input_v.o dce110_opp_v.o dce110_transform_v.o
|
||||
|
||||
AMD_DAL_DCE110 = $(addprefix $(AMDDALPATH)/dc/dce110/,$(DCE110))
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
|
||||
CFLAGS_$(AMDDALPATH)/dc/dce112/dce112_resource.o = $(call cc-disable-warning, override-init)
|
||||
|
||||
DCE112 = dce112_compressor.o \
|
||||
dce112_resource.o
|
||||
DCE112 = dce112_compressor.o
|
||||
|
||||
AMD_DAL_DCE112 = $(addprefix $(AMDDALPATH)/dc/dce112/,$(DCE112))
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
CFLAGS_$(AMDDALPATH)/dc/dce120/dce120_resource.o = $(call cc-disable-warning, override-init)
|
||||
|
||||
DCE120 = dce120_resource.o dce120_timing_generator.o \
|
||||
DCE120 = dce120_timing_generator.o
|
||||
|
||||
AMD_DAL_DCE120 = $(addprefix $(AMDDALPATH)/dc/dce120/,$(DCE120))
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
|
||||
CFLAGS_$(AMDDALPATH)/dc/dce80/dce80_resource.o = $(call cc-disable-warning, override-init)
|
||||
|
||||
DCE80 = dce80_timing_generator.o \
|
||||
dce80_resource.o
|
||||
DCE80 = dce80_timing_generator.o
|
||||
|
||||
AMD_DAL_DCE80 = $(addprefix $(AMDDALPATH)/dc/dce80/,$(DCE80))
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
# Makefile for DCN.
|
||||
|
||||
DCN10 = dcn10_init.o dcn10_resource.o dcn10_ipp.o \
|
||||
DCN10 = dcn10_init.o dcn10_ipp.o \
|
||||
dcn10_hw_sequencer_debug.o \
|
||||
dcn10_dpp.o dcn10_opp.o dcn10_optc.o \
|
||||
dcn10_hubp.o dcn10_mpc.o \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Makefile for DCN.
|
||||
|
||||
DCN20 = dcn20_resource.o dcn20_init.o dcn20_dpp.o dcn20_dpp_cm.o dcn20_hubp.o \
|
||||
DCN20 = dcn20_init.o dcn20_dpp.o dcn20_dpp_cm.o dcn20_hubp.o \
|
||||
dcn20_mpc.o dcn20_opp.o dcn20_hubbub.o dcn20_optc.o dcn20_mmhubbub.o \
|
||||
dcn20_stream_encoder.o dcn20_link_encoder.o dcn20_dccg.o \
|
||||
dcn20_vmid.o dcn20_dwb.o dcn20_dwb_scl.o
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Makefile for DCN.
|
||||
DCN201 = dcn201_init.o dcn201_resource.o \
|
||||
DCN201 = dcn201_init.o \
|
||||
dcn201_hubbub.o\
|
||||
dcn201_mpc.o dcn201_hubp.o dcn201_opp.o dcn201_optc.o dcn201_dpp.o \
|
||||
dcn201_dccg.o dcn201_link_encoder.o
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Makefile for DCN21.
|
||||
|
||||
DCN21 = dcn21_init.o dcn21_hubp.o dcn21_hubbub.o dcn21_resource.o \
|
||||
DCN21 = dcn21_init.o dcn21_hubp.o dcn21_hubbub.o \
|
||||
dcn21_link_encoder.o dcn21_dccg.o
|
||||
|
||||
AMD_DAL_DCN21 = $(addprefix $(AMDDALPATH)/dc/dcn21/,$(DCN21))
|
||||
|
|
|
@ -38,7 +38,6 @@ DCN30 := \
|
|||
dcn30_dwb_cm.o \
|
||||
dcn30_cm_common.o \
|
||||
dcn30_mmhubbub.o \
|
||||
dcn30_resource.o \
|
||||
dcn30_dio_link_encoder.o
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for dcn30.
|
||||
|
||||
DCN301 = dcn301_init.o dcn301_resource.o dcn301_dccg.o \
|
||||
DCN301 = dcn301_init.o dcn301_dccg.o \
|
||||
dcn301_dio_link_encoder.o dcn301_panel_cntl.o dcn301_hubbub.o \
|
||||
dcn301_optc.o
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
# Makefile for dcn302.
|
||||
|
||||
DCN3_02 = dcn302_init.o dcn302_resource.o
|
||||
DCN3_02 = dcn302_init.o
|
||||
|
||||
AMD_DAL_DCN3_02 = $(addprefix $(AMDDALPATH)/dc/dcn302/,$(DCN3_02))
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# Makefile for dcn303.
|
||||
|
||||
DCN3_03 = dcn303_init.o dcn303_resource.o
|
||||
DCN3_03 = dcn303_init.o
|
||||
|
||||
AMD_DAL_DCN3_03 = $(addprefix $(AMDDALPATH)/dc/dcn303/,$(DCN3_03))
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for dcn31.
|
||||
|
||||
DCN31 = dcn31_resource.o dcn31_hubbub.o dcn31_init.o dcn31_hubp.o \
|
||||
DCN31 = dcn31_hubbub.o dcn31_init.o dcn31_hubp.o \
|
||||
dcn31_dccg.o dcn31_optc.o dcn31_dio_link_encoder.o dcn31_panel_cntl.o \
|
||||
dcn31_apg.o dcn31_hpo_dp_stream_encoder.o dcn31_hpo_dp_link_encoder.o \
|
||||
dcn31_afmt.o dcn31_vpg.o
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for dcn314.
|
||||
|
||||
DCN314 = dcn314_resource.o dcn314_init.o \
|
||||
DCN314 = dcn314_init.o \
|
||||
dcn314_dio_stream_encoder.o dcn314_dccg.o dcn314_optc.o
|
||||
|
||||
AMD_DAL_DCN314 = $(addprefix $(AMDDALPATH)/dc/dcn314/,$(DCN314))
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
#
|
||||
# Copyright © 2021 Advanced Micro Devices, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Authors: AMD
|
||||
#
|
||||
# Makefile for dcn315.
|
||||
|
||||
DCN315 = dcn315_resource.o
|
||||
|
||||
AMD_DAL_DCN315 = $(addprefix $(AMDDALPATH)/dc/dcn315/,$(DCN315))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_DCN315)
|
|
@ -1,30 +0,0 @@
|
|||
#
|
||||
# Copyright 2021 Advanced Micro Devices, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Authors: AMD
|
||||
#
|
||||
# Makefile for dcn316.
|
||||
|
||||
DCN316 = dcn316_resource.o
|
||||
|
||||
AMD_DAL_DCN316 = $(addprefix $(AMDDALPATH)/dc/dcn316/,$(DCN316))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_DCN316)
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for dcn32.
|
||||
|
||||
DCN32 = dcn32_resource.o dcn32_hubbub.o dcn32_init.o dcn32_dccg.o \
|
||||
DCN32 = dcn32_hubbub.o dcn32_init.o dcn32_dccg.o \
|
||||
dcn32_dccg.o dcn32_optc.o dcn32_mmhubbub.o dcn32_hubp.o dcn32_dpp.o \
|
||||
dcn32_dio_stream_encoder.o dcn32_dio_link_encoder.o dcn32_hpo_dp_link_encoder.o \
|
||||
dcn32_resource_helpers.o dcn32_mpc.o
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
|
||||
// header file of functions being implemented
|
||||
#include "dcn32_resource.h"
|
||||
#include "dcn32/dcn32_resource.h"
|
||||
#include "dcn20/dcn20_resource.h"
|
||||
#include "dml/dcn32/display_mode_vba_util_32.h"
|
||||
#include "dml/dcn32/dcn32_fpu.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for dcn321.
|
||||
|
||||
DCN321 = dcn321_resource.o dcn321_dio_link_encoder.o
|
||||
DCN321 = dcn321_dio_link_encoder.o
|
||||
|
||||
AMD_DAL_DCN321 = $(addprefix $(AMDDALPATH)/dc/dcn321/,$(DCN321))
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Makefile for DCN35.
|
||||
|
||||
DCN35 = dcn35_resource.o dcn35_init.o dcn35_dio_stream_encoder.o \
|
||||
DCN35 = dcn35_init.o dcn35_dio_stream_encoder.o \
|
||||
dcn35_dio_link_encoder.o dcn35_dccg.o dcn35_optc.o \
|
||||
dcn35_dsc.o dcn35_hubp.o dcn35_hubbub.o \
|
||||
dcn35_mmhubbub.o dcn35_opp.o dcn35_dpp.o dcn35_pg_cntl.o dcn35_dwb.o
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "dcn_calc_auto.h"
|
||||
#include "dal_asic_id.h"
|
||||
#include "resource.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
#include "resource/dcn10/dcn10_resource.h"
|
||||
#include "dcn10/dcn10_hubbub.h"
|
||||
#include "dml/dml1_display_rq_dlg_calc.h"
|
||||
|
||||
|
|
199
drivers/gpu/drm/amd/display/dc/resource/Makefile
Normal file
199
drivers/gpu/drm/amd/display/dc/resource/Makefile
Normal file
|
@ -0,0 +1,199 @@
|
|||
|
||||
# Copyright 2022 Advanced Micro Devices, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Makefile for the 'resource' sub-component of DAL.
|
||||
#
|
||||
|
||||
|
||||
###############################################################################
|
||||
# DCE
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCE100 = dce100_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCE100 = $(addprefix $(AMDDALPATH)/dc/resource/dce100/,$(RESOURCE_DCE100))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE100)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCE110 = dce110_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCE110 = $(addprefix $(AMDDALPATH)/dc/resource/dce110/,$(RESOURCE_DCE110))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE110)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCE112 = dce112_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCE112 = $(addprefix $(AMDDALPATH)/dc/resource/dce112/,$(RESOURCE_DCE112))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE112)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCE120 = dce120_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCE120 = $(addprefix $(AMDDALPATH)/dc/resource/dce120/,$(RESOURCE_DCE120))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE120)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCE80 = dce80_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCE80 = $(addprefix $(AMDDALPATH)/dc/resource/dce80/,$(RESOURCE_DCE80))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE80)
|
||||
|
||||
ifdef CONFIG_DRM_AMD_DC_FP
|
||||
###############################################################################
|
||||
# DCN
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN10 = dcn10_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN10 = $(addprefix $(AMDDALPATH)/dc/resource/dcn10/,$(RESOURCE_DCN10))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN10)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN20 = dcn20_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN20 = $(addprefix $(AMDDALPATH)/dc/resource/dcn20/,$(RESOURCE_DCN20))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN20)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN201 = dcn201_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN201 = $(addprefix $(AMDDALPATH)/dc/resource/dcn201/,$(RESOURCE_DCN201))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN201)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN21 = dcn21_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN21 = $(addprefix $(AMDDALPATH)/dc/resource/dcn21/,$(RESOURCE_DCN21))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN21)
|
||||
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN30 = dcn30_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN30 = $(addprefix $(AMDDALPATH)/dc/resource/dcn30/,$(RESOURCE_DCN30))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN30)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN301 = dcn301_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN301 = $(addprefix $(AMDDALPATH)/dc/resource/dcn301/,$(RESOURCE_DCN301))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN301)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN302 = dcn302_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN302 = $(addprefix $(AMDDALPATH)/dc/resource/dcn302/,$(RESOURCE_DCN302))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN302)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN303 = dcn303_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN303 = $(addprefix $(AMDDALPATH)/dc/resource/dcn303/,$(RESOURCE_DCN303))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN303)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN31 = dcn31_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN31 = $(addprefix $(AMDDALPATH)/dc/resource/dcn31/,$(RESOURCE_DCN31))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN31)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN314 = dcn314_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN314 = $(addprefix $(AMDDALPATH)/dc/resource/dcn314/,$(RESOURCE_DCN314))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN314)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN315 = dcn315_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN315 = $(addprefix $(AMDDALPATH)/dc/resource/dcn315/,$(RESOURCE_DCN315))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN315)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN316 = dcn316_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN316 = $(addprefix $(AMDDALPATH)/dc/resource/dcn316/,$(RESOURCE_DCN316))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN316)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN32 = dcn32_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN32 = $(addprefix $(AMDDALPATH)/dc/resource/dcn32/,$(RESOURCE_DCN32))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN32)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN321 = dcn321_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN321 = $(addprefix $(AMDDALPATH)/dc/resource/dcn321/,$(RESOURCE_DCN321))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN321)
|
||||
|
||||
###############################################################################
|
||||
|
||||
RESOURCE_DCN35 = dcn35_resource.o
|
||||
|
||||
AMD_DAL_RESOURCE_DCN35 = $(addprefix $(AMDDALPATH)/dc/resource/dcn35/,$(RESOURCE_DCN35))
|
||||
|
||||
AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN35)
|
||||
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
|
||||
endif
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "dce110/dce110_resource.h"
|
||||
#include "virtual/virtual_stream_encoder.h"
|
||||
#include "dce120_timing_generator.h"
|
||||
#include "dce120/dce120_timing_generator.h"
|
||||
#include "irq/dce120/irq_service_dce120.h"
|
||||
#include "dce/dce_opp.h"
|
||||
#include "dce/dce_clock_source.h"
|
|
@ -0,0 +1,4 @@
|
|||
dal3_subdirectory_sources(
|
||||
dce80_resource.c
|
||||
dce80_resource.h
|
||||
)
|
|
@ -26,29 +26,32 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn10_init.h"
|
||||
#include "dcn10/dcn10_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
#include "dcn10_resource.h"
|
||||
#include "dcn10_ipp.h"
|
||||
#include "dcn10_mpc.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dcn10/dcn10_ipp.h"
|
||||
#include "dcn10/dcn10_mpc.h"
|
||||
|
||||
#include "dcn10/dcn10_dwb.h"
|
||||
|
||||
#include "irq/dcn10/irq_service_dcn10.h"
|
||||
#include "dcn10_dpp.h"
|
||||
#include "dcn10_optc.h"
|
||||
#include "dcn10/dcn10_dpp.h"
|
||||
#include "dcn10/dcn10_optc.h"
|
||||
#include "dcn10/dcn10_hwseq.h"
|
||||
#include "dce110/dce110_hwseq.h"
|
||||
#include "dcn10_opp.h"
|
||||
#include "dcn10_link_encoder.h"
|
||||
#include "dcn10_stream_encoder.h"
|
||||
#include "dcn10/dcn10_opp.h"
|
||||
#include "dcn10/dcn10_link_encoder.h"
|
||||
#include "dcn10/dcn10_stream_encoder.h"
|
||||
#include "dce/dce_clock_source.h"
|
||||
#include "dce/dce_audio.h"
|
||||
#include "dce/dce_hwseq.h"
|
||||
#include "virtual/virtual_stream_encoder.h"
|
||||
#include "dce110/dce110_resource.h"
|
||||
#include "dce112/dce112_resource.h"
|
||||
#include "dcn10_hubp.h"
|
||||
#include "dcn10_hubbub.h"
|
||||
#include "dcn10/dcn10_hubp.h"
|
||||
#include "dcn10/dcn10_hubbub.h"
|
||||
#include "dce/dce_panel_cntl.h"
|
||||
|
||||
#include "soc15_hw_ip.h"
|
|
@ -29,7 +29,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn20_init.h"
|
||||
#include "dcn20/dcn20_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
|
@ -39,29 +39,29 @@
|
|||
|
||||
#include "dcn10/dcn10_hubp.h"
|
||||
#include "dcn10/dcn10_ipp.h"
|
||||
#include "dcn20_hubbub.h"
|
||||
#include "dcn20_mpc.h"
|
||||
#include "dcn20_hubp.h"
|
||||
#include "dcn20/dcn20_hubbub.h"
|
||||
#include "dcn20/dcn20_mpc.h"
|
||||
#include "dcn20/dcn20_hubp.h"
|
||||
#include "irq/dcn20/irq_service_dcn20.h"
|
||||
#include "dcn20_dpp.h"
|
||||
#include "dcn20_optc.h"
|
||||
#include "dcn20/dcn20_dpp.h"
|
||||
#include "dcn20/dcn20_optc.h"
|
||||
#include "dcn20/dcn20_hwseq.h"
|
||||
#include "dce110/dce110_hwseq.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dcn20_opp.h"
|
||||
#include "dcn20/dcn20_opp.h"
|
||||
|
||||
#include "dcn20_dsc.h"
|
||||
#include "dcn20/dcn20_dsc.h"
|
||||
|
||||
#include "dcn20_link_encoder.h"
|
||||
#include "dcn20_stream_encoder.h"
|
||||
#include "dcn20/dcn20_link_encoder.h"
|
||||
#include "dcn20/dcn20_stream_encoder.h"
|
||||
#include "dce/dce_clock_source.h"
|
||||
#include "dce/dce_audio.h"
|
||||
#include "dce/dce_hwseq.h"
|
||||
#include "virtual/virtual_stream_encoder.h"
|
||||
#include "dce110/dce110_resource.h"
|
||||
#include "dml/display_mode_vba.h"
|
||||
#include "dcn20_dccg.h"
|
||||
#include "dcn20_vmid.h"
|
||||
#include "dcn20/dcn20_dccg.h"
|
||||
#include "dcn20/dcn20_vmid.h"
|
||||
#include "dce/dce_panel_cntl.h"
|
||||
|
||||
#include "navi10_ip_offset.h"
|
|
@ -26,7 +26,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn201_init.h"
|
||||
#include "dcn201/dcn201_init.h"
|
||||
#include "dml/dcn20/dcn20_fpu.h"
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
|
@ -36,16 +36,16 @@
|
|||
|
||||
#include "dcn10/dcn10_hubp.h"
|
||||
#include "dcn10/dcn10_ipp.h"
|
||||
#include "dcn201_mpc.h"
|
||||
#include "dcn201_hubp.h"
|
||||
#include "dcn201/dcn201_mpc.h"
|
||||
#include "dcn201/dcn201_hubp.h"
|
||||
#include "irq/dcn201/irq_service_dcn201.h"
|
||||
#include "dcn201/dcn201_dpp.h"
|
||||
#include "dcn201/dcn201_hubbub.h"
|
||||
#include "dcn201_dccg.h"
|
||||
#include "dcn201_optc.h"
|
||||
#include "dcn201/dcn201_dccg.h"
|
||||
#include "dcn201/dcn201_optc.h"
|
||||
#include "dcn201/dcn201_hwseq.h"
|
||||
#include "dce110/dce110_hwseq.h"
|
||||
#include "dcn201_opp.h"
|
||||
#include "dcn201/dcn201_opp.h"
|
||||
#include "dcn201/dcn201_link_encoder.h"
|
||||
#include "dcn20/dcn20_stream_encoder.h"
|
||||
#include "dce/dce_clock_source.h"
|
||||
|
@ -55,7 +55,7 @@
|
|||
#include "dce110/dce110_resource.h"
|
||||
#include "dce/dce_aux.h"
|
||||
#include "dce/dce_i2c.h"
|
||||
#include "dcn201_hubbub.h"
|
||||
#include "dcn201/dcn201_hubbub.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
|
||||
#include "cyan_skillfish_ip_offset.h"
|
|
@ -29,7 +29,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn21_init.h"
|
||||
#include "dcn21/dcn21_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
|
@ -44,7 +44,7 @@
|
|||
#include "dcn20/dcn20_hubbub.h"
|
||||
#include "dcn20/dcn20_mpc.h"
|
||||
#include "dcn20/dcn20_hubp.h"
|
||||
#include "dcn21_hubp.h"
|
||||
#include "dcn21/dcn21_hubp.h"
|
||||
#include "irq/dcn21/irq_service_dcn21.h"
|
||||
#include "dcn20/dcn20_dpp.h"
|
||||
#include "dcn20/dcn20_optc.h"
|
||||
|
@ -61,7 +61,7 @@
|
|||
#include "dml/display_mode_vba.h"
|
||||
#include "dcn20/dcn20_dccg.h"
|
||||
#include "dcn21/dcn21_dccg.h"
|
||||
#include "dcn21_hubbub.h"
|
||||
#include "dcn21/dcn21_hubbub.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dce/dce_panel_cntl.h"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn30_init.h"
|
||||
#include "dcn30/dcn30_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
|
@ -27,7 +27,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn301_init.h"
|
||||
#include "dcn301/dcn301_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
|
@ -61,7 +61,7 @@
|
|||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dcn30/dcn30_dio_stream_encoder.h"
|
||||
#include "dcn301/dcn301_dio_link_encoder.h"
|
||||
#include "dcn301_panel_cntl.h"
|
||||
#include "dcn301/dcn301_panel_cntl.h"
|
||||
|
||||
#include "vangogh_ip_offset.h"
|
||||
|
|
@ -23,9 +23,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "dcn302_init.h"
|
||||
#include "dcn302/dcn302_init.h"
|
||||
#include "dcn302_resource.h"
|
||||
#include "dcn302_dccg.h"
|
||||
#include "dcn302/dcn302_dccg.h"
|
||||
#include "irq/dcn302/irq_service_dcn302.h"
|
||||
|
||||
#include "dcn30/dcn30_dio_link_encoder.h"
|
|
@ -23,9 +23,9 @@
|
|||
* Authors: AMD
|
||||
*/
|
||||
|
||||
#include "dcn303_init.h"
|
||||
#include "dcn303/dcn303_init.h"
|
||||
#include "dcn303_resource.h"
|
||||
#include "dcn303_dccg.h"
|
||||
#include "dcn303/dcn303_dccg.h"
|
||||
#include "irq/dcn303/irq_service_dcn303.h"
|
||||
|
||||
#include "dcn30/dcn30_dio_link_encoder.h"
|
|
@ -70,7 +70,7 @@
|
|||
#include "dml/dcn31/dcn31_fpu.h"
|
||||
#include "dcn31/dcn31_dccg.h"
|
||||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dcn31_panel_cntl.h"
|
||||
#include "dcn31/dcn31_panel_cntl.h"
|
||||
|
||||
#include "dcn30/dcn30_dwb.h"
|
||||
#include "dcn30/dcn30_mmhubbub.h"
|
|
@ -27,7 +27,7 @@
|
|||
#include "dm_services.h"
|
||||
#include "dc.h"
|
||||
|
||||
#include "dcn32_init.h"
|
||||
#include "dcn32/dcn32_init.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "include/irq_service_interface.h"
|
||||
|
@ -41,7 +41,7 @@
|
|||
#include "dcn31/dcn31_hubbub.h"
|
||||
#include "dcn32/dcn32_hubbub.h"
|
||||
#include "dcn32/dcn32_mpc.h"
|
||||
#include "dcn32_hubp.h"
|
||||
#include "dcn32/dcn32_hubp.h"
|
||||
#include "irq/dcn32/irq_service_dcn32.h"
|
||||
#include "dcn32/dcn32_dpp.h"
|
||||
#include "dcn32/dcn32_optc.h"
|
|
@ -63,7 +63,7 @@
|
|||
#include "dcn31/dcn31_apg.h"
|
||||
#include "dcn31/dcn31_dio_link_encoder.h"
|
||||
#include "dcn32/dcn32_dio_link_encoder.h"
|
||||
#include "dcn321_dio_link_encoder.h"
|
||||
#include "dcn321/dcn321_dio_link_encoder.h"
|
||||
#include "dce/dce_clock_source.h"
|
||||
#include "dce/dce_audio.h"
|
||||
#include "dce/dce_hwseq.h"
|
|
@ -78,7 +78,7 @@
|
|||
#include "dcn10/dcn10_resource.h"
|
||||
#include "dcn31/dcn31_panel_cntl.h"
|
||||
#include "dcn35/dcn35_hwseq.h"
|
||||
#include "dcn35_dio_link_encoder.h"
|
||||
#include "dcn35/dcn35_dio_link_encoder.h"
|
||||
#include "dml/dcn31/dcn31_fpu.h" /*todo*/
|
||||
#include "dml/dcn35/dcn35_fpu.h"
|
||||
#include "dcn35/dcn35_dwb.h"
|
Loading…
Reference in a new issue