mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/amd/display: Remove unnecessary DC FP guard
[Why & How] For dcn2x_fast_validate_bw(), not only populate_dml_pipes needs FP guard but also dml_get_voltage_level(). Remove unnecessary DC_FP_START/DC_FP_END guard in dcn20_fast_validate_bw and dcn21_fast_validate_bw. FP guard is already there before calling dcn2x_validate_bandwidth_fp(). Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
26b5cf2688
commit
c37084e25f
|
|
@ -2022,9 +2022,7 @@ bool dcn20_fast_validate_bw(
|
|||
|
||||
dcn20_merge_pipes_for_validate(dc, context);
|
||||
|
||||
DC_FP_START();
|
||||
pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, validate_mode);
|
||||
DC_FP_END();
|
||||
|
||||
*pipe_cnt_out = pipe_cnt;
|
||||
|
||||
|
|
|
|||
|
|
@ -785,9 +785,7 @@ bool dcn21_fast_validate_bw(struct dc *dc,
|
|||
|
||||
dcn20_merge_pipes_for_validate(dc, context);
|
||||
|
||||
DC_FP_START();
|
||||
pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, validate_mode);
|
||||
DC_FP_END();
|
||||
|
||||
*pipe_cnt_out = pipe_cnt;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user