linux/drivers/gpu/drm/amd/display
Chris Park 80089dd841 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-08 23:04:33 -05:00
..
amdgpu_dm drm/amd/display: Only one display lights up while using MST hub 2020-12-08 23:04:26 -05:00
dc drm/amd/display: Prevent bandwidth overflow 2020-12-08 23:04:33 -05:00
dmub drm/amd/display: Add support for runtime feature detection command 2020-12-08 23:03:46 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: Set FixRate bit in VSIF V3 2020-12-08 23:03:04 -05:00
Kconfig drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
Makefile
TODO