]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Mode change with same timing causing long display blank
authorAric Cyr <aric.cyr@amd.com>
Wed, 22 Apr 2020 01:41:25 +0000 (21:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:11:06 +0000 (13:11 -0400)
commitc3850627c59cf3ba107ff25a200c6539e8b167d3
tree714f195a655f111603cedb5ff0e94dafd08517f1
parent18ed2d24e211f8ac8932451bb4438f53ffc95649
drm/amd/display: Mode change with same timing causing long display blank

[Why]
What a mode change is requested for the same timing a full stream reset
can occur in some cases which causes monitor to blank for a few seconds.

[How]
Do not consider infoframe updates as needing a full stream reset as they
will be handled on the first flip after a modeset when surface
information is available.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/inc/resource.h