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)
commit8c076bc8d731ece31c7c932730c5581af50f47da
tree714f195a655f111603cedb5ff0e94dafd08517f1
parente9a135a969352e5cc945a8db636163a7bb8e4ada
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