xref: /linux/drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.h (revision 6dfafbd0299a60bfb5d5e277fdf100037c7ded07)
1 // SPDX-License-Identifier: MIT
2 //
3 // Copyright 2025 Advanced Micro Devices, Inc.
4 
5 #ifndef _DCN401_SOC_AND_IP_TRANSLATOR_H_
6 #define _DCN401_SOC_AND_IP_TRANSLATOR_H_
7 
8 #include "core_types.h"
9 #include "dc.h"
10 #include "clk_mgr.h"
11 #include "soc_and_ip_translator.h"
12 #include "dml2_0/dml21/inc/dml_top_soc_parameter_types.h"
13 
14 void dcn401_construct_soc_and_ip_translator(struct soc_and_ip_translator *soc_and_ip_translator);
15 
16 /* Functions that can be re-used by higher DCN revisions of this component */
17 void dcn401_get_soc_bb(struct dml2_soc_bb *soc_bb, const struct dc *dc, const struct dml2_configuration_options *config);
18 void dcn401_update_soc_bb_with_values_from_clk_mgr(struct dml2_soc_bb *soc_bb, const struct dc *dc, const struct dml2_configuration_options *config);
19 void dcn401_update_soc_bb_with_values_from_vbios(struct dml2_soc_bb *soc_bb, const struct dc *dc);
20 void dcn401_update_soc_bb_with_values_from_software_policy(struct dml2_soc_bb *soc_bb, const struct dc *dc);
21 
22 #endif /* _DCN401_SOC_AND_IP_TRANSLATOR_H_ */
23