]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Skip modeset for front porch change
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 10 Dec 2020 18:48:23 +0000 (13:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2021 22:23:49 +0000 (17:23 -0500)
commit241bd8dda2d00b41bc30296f7ac13f6693c4555f
treef84f2cc6771d9a853c48d5733adb5cc89dcb8acb
parente826dc0d83e9b8a96649f14f61e17d42878d73b6
drm/amd/display: Skip modeset for front porch change

[Why]
A seamless transition between modes can be performed if the new incoming
mode has the same timing parameters as the optimized mode on a display with a
variable vtotal min/max.

Smooth video playback usecases can be enabled with this seamless transition by
switching to a new mode which has a refresh rate matching the video.

[How]
Skip full modeset if userspace requested a compatible freesync mode which only
differs in the front porch timing from the current mode.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c