From: Kaifu Hu Date: Thu, 12 Apr 2018 07:47:48 +0000 (+0800) Subject: hdmitx: move AVI position from line4 to line10 X-Git-Tag: khadas-vims-v0.9.6-release~2207 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7b8b75b3e2554be5402e916fe3963b056277c8d;p=platform%2Fkernel%2Flinux-amlogic.git hdmitx: move AVI position from line4 to line10 PD#163964: hdmitx: move AVI position from line4 to line10 Move AVI position from line4 to line10 for HDMI1.4 CTS 7.24 fail in QD980. Change-Id: I6c84445de942cce383c3bb339223589e3fb39d5f Signed-off-by: Kaifu Hu --- diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c index c0ed458..3cd84fe 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c @@ -4253,7 +4253,7 @@ static void config_hdmi20_tx(enum hdmi_vic vic, hdmitx_wr_reg(HDMITX_DWC_FC_DATMAN, 0); /* packet scheduller configuration for AVI, GCP, AUDI, ACR. */ - hdmitx_set_reg_bits(HDMITX_DWC_FC_DATAUTO3, 0xe, 0, 6); + hdmitx_set_reg_bits(HDMITX_DWC_FC_DATAUTO3, 0x6, 0, 6); /* If RX support 2084 or hlg , and the hdr_src_feature is 2020 * then enable HDR send out */ @@ -4274,8 +4274,9 @@ static void config_hdmi20_tx(enum hdmi_vic vic, hdmitx_wr_reg(HDMITX_DWC_FC_RDRB3, 0); hdmitx_wr_reg(HDMITX_DWC_FC_RDRB4, 0); hdmitx_wr_reg(HDMITX_DWC_FC_RDRB5, 0); - hdmitx_wr_reg(HDMITX_DWC_FC_RDRB6, 0); - hdmitx_wr_reg(HDMITX_DWC_FC_RDRB7, 0); + /* AVI info usb RDRB mode and place in line 10*/ + hdmitx_wr_reg(HDMITX_DWC_FC_RDRB6, 0x0); + hdmitx_wr_reg(HDMITX_DWC_FC_RDRB7, 0x1a); hdmitx_wr_reg(HDMITX_DWC_FC_RDRB8, 0); hdmitx_wr_reg(HDMITX_DWC_FC_RDRB9, 0); hdmitx_wr_reg(HDMITX_DWC_FC_RDRB10, 0);