OSDN Git Service

drm/amd/display: Fixed Intermittent blue screen on OLED panel
authorNaveed Ashfaq <Naveed.Ashfaq@amd.com>
Fri, 14 Aug 2020 17:48:13 +0000 (13:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:40 +0000 (17:52 -0400)
commita861736dae644a0d7abbca0c638ae6aad28feeb8
tree58f0991251b4fdc0bfe9166f5bae95976944d660
parent14ae69026f840bf3a1ff861ccd43d4e96d6b08cf
drm/amd/display: Fixed Intermittent blue screen on OLED panel

[why]
Changing to smaller modes on OLED panel caused a blue screen crash
as driver reported dram change during vactive when it shouldn't

[how]
Added an extra condition to prevent incorrect dram change timing

Signed-off-by: Naveed Ashfaq <Naveed.Ashfaq@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/dml/dcn20/display_mode_vba_20v2.c