drm/amd/display: set av_mute in hw_init for HDMI
authorCharlene Liu <charlene.liu@amd.com>
Wed, 7 Aug 2019 21:25:49 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:43:22 +0000 (11:43 -0500)
commit78d9b95ecf8a9b4cb871297359b7b804ee0c6925
tree39972b8f904624b2527c1049e10e18e3f84721ec
parent4551666f5b6c46defad645f7b7e9b4a486985df6
drm/amd/display: set av_mute in hw_init for HDMI

[Description]
OS will reserve HW state in UEFI mode.
Driver init_hw reset to RGB which caused HDMI green in YCbCr mode.
read HW blank_color based on acc_mode.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h