]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Loop through all pipes for DET allocation
authorTaimur Hassan <Syed.Hassan@amd.com>
Fri, 8 Jul 2022 17:32:46 +0000 (13:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:02 +0000 (09:31 -0400)
commit3c3f74e59fd0cf3d03b4ac3f7f120a7cfcd3f88e
tree70869c027c9a2dc9fa5a275f4382446eb8220a6c
parentc962a9987c3f6590bc13861c8b3b6fd43ede1ed1
drm/amd/display: Loop through all pipes for DET allocation

[Why & How]
There are cases where the pipes populated are not all at the top
of the pipes list under context. Loop through all pipes for DET
allocation instead of just the number of populated ones, even if
some unpopulated pipes are iterated through unnecessarily.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c