drm/amd/display: Isolate remaining FPU code in DCN32
[Why] DCN32 resource contains code that uses FPU. [How] Moved code into DCN32 FPU Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@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>
This commit is contained in:
Родитель
989cd3e76a
Коммит
3caab67db1
|
@ -2876,3 +2876,9 @@ bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uint
|
|||
}
|
||||
return vactive_found;
|
||||
}
|
||||
|
||||
void dcn32_set_clock_limits(const struct _vcs_dpi_soc_bounding_box_st *soc_bb)
|
||||
{
|
||||
dc_assert_fp_enabled();
|
||||
dcn3_2_soc.clock_limits[0].dcfclk_mhz = 1200.0;
|
||||
}
|
||||
|
|
|
@ -80,4 +80,6 @@ void dcn32_assign_fpo_vactive_candidate(struct dc *dc, const struct dc_state *co
|
|||
|
||||
bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uint32_t vactive_margin_req);
|
||||
|
||||
void dcn32_set_clock_limits(const struct _vcs_dpi_soc_bounding_box_st *soc_bb);
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче