linux_dsm_epyc7002/drivers/gpu/drm/amd
Chris Park c2ffe78b8b drm/amd/display: Prevent bandwidth overflow
[Why]
At very high pixel clock, bandwidth calculation exceeds 32 bit size
and overflow value. This causes the resulting selection of link rate
to be inaccurate.

[How]
Change order of operation and use fixed point to deal with integer
accuracy. Also address bug found when forcing link rate.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-12-09 10:06:39 -05:00
..
acp
amdgpu drm/amdgpu: fix debugfs creation/removal, again 2020-12-09 10:06:39 -05:00
amdkfd amdkfd: Check kvmalloc return before memcpy 2020-11-03 21:00:40 -05:00
display drm/amd/display: Prevent bandwidth overflow 2020-12-09 10:06:39 -05:00
include drm/amdgpu: add Green_Sardine APU flag 2020-11-04 08:30:48 -05:00
pm drm/amdgpu/powerplay: parse fan table for CI asics 2020-12-08 23:12:08 -05:00