19cc57625SQingqing Zhuo /*
29cc57625SQingqing Zhuo  * Copyright 2021 Advanced Micro Devices, Inc.
39cc57625SQingqing Zhuo  *
49cc57625SQingqing Zhuo  * Permission is hereby granted, free of charge, to any person obtaining a
59cc57625SQingqing Zhuo  * copy of this software and associated documentation files (the "Software"),
69cc57625SQingqing Zhuo  * to deal in the Software without restriction, including without limitation
79cc57625SQingqing Zhuo  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
89cc57625SQingqing Zhuo  * and/or sell copies of the Software, and to permit persons to whom the
99cc57625SQingqing Zhuo  * Software is furnished to do so, subject to the following conditions:
109cc57625SQingqing Zhuo  *
119cc57625SQingqing Zhuo  * The above copyright notice and this permission notice shall be included in
129cc57625SQingqing Zhuo  * all copies or substantial portions of the Software.
139cc57625SQingqing Zhuo  *
149cc57625SQingqing Zhuo  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
159cc57625SQingqing Zhuo  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
169cc57625SQingqing Zhuo  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
179cc57625SQingqing Zhuo  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
189cc57625SQingqing Zhuo  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
199cc57625SQingqing Zhuo  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
209cc57625SQingqing Zhuo  * OTHER DEALINGS IN THE SOFTWARE.
219cc57625SQingqing Zhuo  *
229cc57625SQingqing Zhuo  * Authors: AMD
239cc57625SQingqing Zhuo  *
249cc57625SQingqing Zhuo  */
259cc57625SQingqing Zhuo 
269cc57625SQingqing Zhuo #ifndef _DCN315_RESOURCE_H_
279cc57625SQingqing Zhuo #define _DCN315_RESOURCE_H_
289cc57625SQingqing Zhuo 
299cc57625SQingqing Zhuo #include "core_types.h"
309cc57625SQingqing Zhuo 
319cc57625SQingqing Zhuo #define TO_DCN315_RES_POOL(pool)\
329cc57625SQingqing Zhuo 	container_of(pool, struct dcn315_resource_pool, base)
339cc57625SQingqing Zhuo 
34*fa896297SMelissa Wen extern struct _vcs_dpi_ip_params_st dcn3_15_ip;
35*fa896297SMelissa Wen 
369cc57625SQingqing Zhuo struct dcn315_resource_pool {
379cc57625SQingqing Zhuo 	struct resource_pool base;
389cc57625SQingqing Zhuo };
399cc57625SQingqing Zhuo 
409cc57625SQingqing Zhuo struct resource_pool *dcn315_create_resource_pool(
419cc57625SQingqing Zhuo 		const struct dc_init_data *init_data,
429cc57625SQingqing Zhuo 		struct dc *dc);
439cc57625SQingqing Zhuo 
449cc57625SQingqing Zhuo #endif /* _DCN315_RESOURCE_H_ */
45