drm/amd/display: remove a function that does complex calculation in every frame but...
authorWenjing Liu <wenjing.liu@amd.com>
Wed, 23 Aug 2023 17:09:23 +0000 (13:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:16:57 +0000 (17:16 -0400)
commitc30406623422b9ddc77f55e94dcd5171bd5cc106
tree89e423ff7713d078f1a62a60ff52f3720cd26616
parente379162adf890a72fce2fc898111478854254975
drm/amd/display: remove a function that does complex calculation in every frame but not used

[why]
The result of predict_pipe_split calculation is no longer used but the
function is not removed. This will cause unnecessary calculation
of pipe split prediction in every frame update.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Wenjing Liu <wenjing.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/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h