[Why & How] As part of the FPU isolation work documented in https://patchwork.freedesktop.org/series/93042/, isolate code that uses FPU in DCN303 to DML, where all FPU code should locate. Co-authored-by: Jasdeep Dhillon <jasdeep.dhillon@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Jasdeep Dhillon <jasdeep.dhillon@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
21 lines
520 B
C
21 lines
520 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright (C) 2021 Advanced Micro Devices, Inc.
|
|
*
|
|
* Authors: AMD
|
|
*/
|
|
|
|
#ifndef _DCN303_RESOURCE_H_
|
|
#define _DCN303_RESOURCE_H_
|
|
|
|
#include "core_types.h"
|
|
|
|
extern struct _vcs_dpi_ip_params_st dcn3_03_ip;
|
|
extern struct _vcs_dpi_soc_bounding_box_st dcn3_03_soc;
|
|
|
|
struct resource_pool *dcn303_create_resource_pool(const struct dc_init_data *init_data, struct dc *dc);
|
|
|
|
void dcn303_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params);
|
|
|
|
#endif /* _DCN303_RESOURCE_H_ */
|