Skip to content

Commit 72a8d87

Browse files
BNieuwenhuizenalexdeucher
authored andcommitted
drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.
It calls populate_dml_pipes which uses doubles to initialize the scale_ratio_depth params. Mirrors the dcn20 logic. Cc: [email protected] Signed-off-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent ebc77bc commit 72a8d87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,6 @@ noinline bool dcn30_internal_validate_bw(
18781878
dc->res_pool->funcs->update_soc_for_wm_a(dc, context);
18791879
pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, context, pipes, fast_validate);
18801880

1881-
DC_FP_START();
18821881
if (!pipe_cnt) {
18831882
out = true;
18841883
goto validate_out;
@@ -2104,7 +2103,6 @@ noinline bool dcn30_internal_validate_bw(
21042103
out = false;
21052104

21062105
validate_out:
2107-
DC_FP_END();
21082106
return out;
21092107
}
21102108

@@ -2306,7 +2304,9 @@ bool dcn30_validate_bandwidth(struct dc *dc,
23062304

23072305
BW_VAL_TRACE_COUNT();
23082306

2307+
DC_FP_START();
23092308
out = dcn30_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate);
2309+
DC_FP_END();
23102310

23112311
if (pipe_cnt == 0)
23122312
goto validate_out;

0 commit comments

Comments
 (0)