Skip to content
Commit ec7282bd authored by Artem Grishin's avatar Artem Grishin Committed by Alex Deucher
Browse files

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: default avatarStylon Wang <stylon.wang@amd.com>
Signed-off-by: default avatarArtem Grishin <artem.grishin@amd.com>
Reviewed-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 19675495
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment