]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Fix update_bw_bounding_box Calcs
authorSung Lee <sung.lee@amd.com>
Mon, 2 Dec 2019 21:45:16 +0000 (16:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:38:17 +0000 (08:38 +0100)
commit5ede16d673b71aaaaa4629de2ffea8d3747df4ea
tree19f60924530f10c2a94fa7b8bdc7d39d4a2bcd8d
parent596f43ce68ff7b84c48a6f55b5b415f2ce901666
drm/amd/display: Fix update_bw_bounding_box Calcs

[ Upstream commit 615b9b585eb57c1d49382d16a62de768f2c6a340 ]

[Why]
Previously update_bw_bounding_box for RN was commented out
due to incorrect values causing BSOD on Hybrid Graphics.
However, commenting out this function also may cause issues
such as underflow in certain cases such as 2x4K displays.

[How]
Fix dram_speed_mts calculations.
Update from proper index of clock_limits[]

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c