]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Modify resource allocation logic
authorSung Joon Kim <sungjoon.kim@amd.com>
Mon, 1 Apr 2024 20:45:10 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:23:41 +0000 (21:23 -0400)
commit63985d9adf8ca54e0ca73f79f5a64f6101b74523
treed3e93ffd20ce8610d27081ec063fd4bccb2d915c
parentab956ed95b8bc4a65c913d7057075866d5fc3724
drm/amd/display: Modify resource allocation logic

To reduce the complexity of pipe resource allocation for different
use-cases, now we search for any free pipe sequentially rather than from
bottom up.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.h
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.h