diff options
author | Artem Grishin <[email protected]> | 2023-06-01 12:52:16 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-06-15 10:44:41 -0400 |
commit | ec7282bd2688c6c741c79f8696a68c6c0403cf2d (patch) | |
tree | 2671de1b7f9fd66a805a26c7967a9d06ce91be04 /drivers/gpu/drm/amd/display/dc/link/link_detection.c | |
parent | 196754951fc8187c64806d0807c467d6f435d0c5 (diff) |
drm/amd/display: Bug fix in dcn315_populate_dml_pipes_from_context
[Why]
When iterating over all pipes in the loop, the CRB allocation algorithm
may potentially skip some of the pipes. Previously, the current pipe
index didn't get updated in this case, causing incorrect outcome.
[How]
Increment the pipe index when skipping over a pipe in the loop.
Acked-by: Stylon Wang <[email protected]>
Signed-off-by: Artem Grishin <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/link/link_detection.c')
0 files changed, 0 insertions, 0 deletions