]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99b13bb58cc5003c18e284e631026ec2bbc5648a
tree58f0991251b4fdc0bfe9166f5bae95976944d660
parent2b71b204bee3d52494f0f58d2557f8983a5cade5
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