diff options
author | Alvin Lee <[email protected]> | 2023-09-14 11:40:31 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-09-26 17:00:22 -0400 |
commit | be5a3fdc8b2c169c330233821383748207d9970e (patch) | |
tree | 92c8b60e9e64828ca6500fcfcdf501031d334a44 | |
parent | 40de8403b998020a7bf3e356ef64feefa77f096b (diff) |
drm/amd/display: Break after finding supported vlevel for repopulate
[Description]
After repopulating pipes for a split / merge, we want to find the
lowest vlevel that supports the desired mpc combine level.
Reviewed-by: Nevenko Stupar <[email protected]>
Reviewed-by: Dillon Varone <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Alvin Lee <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c index 992e9c3c2bc6..7179c2b3b1b7 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c @@ -2187,6 +2187,7 @@ bool dcn32_internal_validate_bw(struct dc *dc, vba->VoltageLevel = i; vlevel = i; flags_valid = true; + break; } } |