drm/amd/display: Send DISPLAY_OFF after power down on boot
authorSung Lee <sung.lee@amd.com>
Tue, 11 Aug 2020 21:23:20 +0000 (17:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:17 +0000 (16:40 -0400)
commit387f3a30cc895abcdad0791fa6c6f3c1f1a69c83
tree41fb4ea2fd6843008a4b864cd86886ab1a7f5673
parentd3bbba79eb83e8356cd3ac7b250fdd0cc4f85c01
drm/amd/display: Send DISPLAY_OFF after power down on boot

[WHY]
update_clocks might not be called on headless adapters. This means
DISPLAY_OFF may not be sent in headless cases.

[HOW]
If hardware is powered down on boot because it is headless (mode set
does not happen on that adapter) also send DISPLAY_OFF notification.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h