drm/amd/display: Update bounding box states (v2)
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Thu, 18 Jun 2020 00:34:33 +0000 (20:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:23 +0000 (13:42 +0200)
commite06fde01df6a5a3f7e36ff029efbd17182f8aa3d
tree22ae10ea370b2e23ae2cd3ce53f49feda95e85d8
parent252521065e7f49b79e7b5d6ddcd4b1593d2cbc94
drm/amd/display: Update bounding box states (v2)

commit a7a9d11e12fcc32160d55e8612e72e5ab51b15dc upstream.

[Why]
Drop hardcoded dispclk, dppclk, phyclk

[How]
Read the corresponding values from clock table entries already populated.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1403
Cc: stable@vger.kernel.org
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c