mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
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: Jun Lei <jun.lei@amd.com>
Signed-off-by: Harold Sun <Harold.Sun@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit fe7645d22b)
This commit is contained in:
@@ -974,6 +974,7 @@ struct dc_crtc_timing {
|
||||
uint32_t pix_clk_100hz;
|
||||
|
||||
uint32_t min_refresh_in_uhz;
|
||||
uint32_t max_refresh_in_uhz;
|
||||
|
||||
uint32_t vic;
|
||||
uint32_t hdmi_vic;
|
||||
|
||||
Reference in New Issue
Block a user