Commit d5741133 authored by Daniel Miess's avatar Daniel Miess Committed by Greg Kroah-Hartman
Browse files

drm/amd/display: Fix possible underflow for displays with large vblank



[ Upstream commit 1a4bcdbe ]

[Why]
Underflow observed when using a display with a large vblank region
and low refresh rate

[How]
Simplify calculation of vblank_nom

Increase value for VBlankNomDefaultUS to 800us

Reviewed-by: default avatarJun Lei <jun.lei@amd.com>
Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarDaniel Miess <daniel.miess@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 2a9482e5 ("drm/amd/display: Prevent vtotal from being set to 0")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 342ec169
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment