1 /* SPDX-License-Identifier: MIT */ 2 /* Copyright 2024 Advanced Micro Devices, Inc. */ 3 4 #ifndef _DCN351_RESOURCE_H_ 5 #define _DCN351_RESOURCE_H_ 6 7 #include "core_types.h" 8 9 extern struct _vcs_dpi_ip_params_st dcn3_51_ip; 10 extern struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc; 11 12 #define TO_DCN351_RES_POOL(pool)\ 13 container_of(pool, struct dcn351_resource_pool, base) 14 15 struct dcn351_resource_pool { 16 struct resource_pool base; 17 }; 18 19 struct resource_pool *dcn351_create_resource_pool( 20 const struct dc_init_data *init_data, 21 struct dc *dc); 22 23 #endif /* _DCN351_RESOURCE_H_ */ 24