drm/amd/display: fix dcn315 single stream crb allocation
authorDmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Tue, 16 May 2023 19:50:40 +0000 (15:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:41:18 +0000 (12:41 -0400)
commit49f26218c344741cb3eaa740b1e44e960551a87f
tree2414971d011b4dd4ec420316b4f03d7375dae8cb
parent869bcf59fd64382e3b23b219e791e6e5ebf1114e
drm/amd/display: fix dcn315 single stream crb allocation

Change to improve avoiding asymetric crb calculations for single stream
scenarios.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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/dcn315/dcn315_resource.c