summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChris Park <Chris.Park@amd.com>2020-11-24 20:11:25 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-12-09 10:06:39 -0500
commitc2ffe78b8b1354603a7d5afb719b2a6dfbb582da (patch)
tree08b953461a1ab0f2aac9946c2664ae59559edfbf /net/lapb/lapb_timer.c
parent2343e9d2c5a94459b9de92649f1650e36eb79a10 (diff)
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions