Skip to content
Commit 84f2902b authored by Harold Sun's avatar Harold Sun Committed by Alex Deucher
Browse files

drm/amd/display: Added case for when RR equals panel's max RR using freesync



[WHY]
Rounding error sometimes occurs when the refresh rate is equal to a panel's
max refresh rate, causing HDMI compliance failures.

[HOW]
Added a case so that we round up to avoid v_total_min to be below a panel's
minimum bound.

Reviewed-by: default avatarJun Lei <jun.lei@amd.com>
Signed-off-by: default avatarHarold Sun <Harold.Sun@amd.com>
Signed-off-by: default avatarRay Wu <ray.wu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit fe7645d2)
parent 34659c1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment