]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:10 +0000 (16:09 -0500)
commitd720175175256274f8f06abeba9ff46db4274135
treeac1a4fa14995e48e2de53cd002e448281bd14b87
parentb3dfa250f8051485fe411f9f9e8049db03775ffb
drm/amd/display: Fix update_bw_bounding_box Calcs

[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>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c