From 0b85a93faed9e6a35675b5b4a110e42b579307fc Mon Sep 17 00:00:00 2001 From: zhaoyuan Date: Thu, 27 Apr 2017 15:35:58 +0800 Subject: [PATCH] msm: mdss: do not apply AVMUTE for non-CTA format AVMUTE is applied when HDMI power off. However, when HDMI power on, we just make AVMUTE false for CTA format. For non-CTA format, AVMUTE is still applied, if we want to show premium data(highger quality, such as enable deep color), HDMI could not display, just black screen. CRs-Fixed: 2033800 Change-Id: If0de6052e98cb9cfcf88ae21d8c19d39ae8abd14 Signed-off-by: zhaoyuan --- drivers/video/fbdev/msm/mdss_hdmi_tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c index 42845f9ff192..61e373b33593 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c @@ -3203,8 +3203,7 @@ static int hdmi_tx_power_on(struct hdmi_tx_ctrl *hdmi_ctrl) hdmi_tx_core_on(hdmi_ctrl); - if (hdmi_ctrl->panel.infoframe && - !hdmi_tx_is_encryption_set(hdmi_ctrl) && + if (!hdmi_tx_is_encryption_set(hdmi_ctrl) && hdmi_tx_is_stream_shareable(hdmi_ctrl)) { hdmi_tx_config_avmute(hdmi_ctrl, false); }