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 19:18:41 +0000 (15:18 -0400)
commitd2ce14fd99e91f3de667e5dba5b9affa3e40e725
treed46947381a06c703a289ebce5de64c08d2cf10f0
parentde7a1b0b8753e1b0000084f0e339ffab295d27ef
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