]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add power down display on boot flag
authorThomas Lim <Thomas.Lim@amd.com>
Tue, 7 May 2019 20:08:22 +0000 (15:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:10 +0000 (09:34 -0500)
commit653b904c4d61265622826cb104c4b9e0b5a61a2e
tree711564a7150ee3c642c8d11e5af5ef7d6a5adbf3
parent6815b4fa0cc2fa71d3d1b56ef8c787b77dcbd02a
drm/amd/display: Add power down display on boot flag

[Why]
Due to the generic introduction of seamless boot, the display is no
longer blanked upon boot. However, this causes corruption on some
systems that does not lock the memory in the non-secure boot case,
resulting in brief corruption on boot due to garbage being written into
the frame buffer.

[How]
Add a flag, read during DC init, to determine whether display should be
blanked on boot. Default to true.

Signed-off-by: Thomas Lim <Thomas.Lim@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c