hdmitx: S7 returns to trunk causing t7 to have no signal [1/1]

PD#SWPL-152392

Problem:
T7 not enable encp/enci output to HDMI

Solution:
add enable encp/enci output to HDMI

Verify:
t7

Test:
DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81

Change-Id: I3481f93e8ba0e3bc371b74c57a933bc64c35d3ed
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
This commit is contained in:
xiang.wu1
2024-01-23 21:43:05 +08:00
committed by Luan Yuan
parent eb8caf3c45
commit 400c7ed87b
+6 -3
View File
@@ -1240,9 +1240,10 @@ static int hdmitx_set_dispmode(struct hdmitx_hw_common *tx_hw)
data32 |= ((para->cs == HDMI_COLORSPACE_YUV420 ? 2 : 1) << 28);
break;
case MESON_CPU_ID_T7:
default:
data32 |= (0 << 0);
data32 |= (0 << 1);
if (hdev->tx_comm.enc_idx == 0)
data32 |= (1 << 0);
else
data32 |= (1 << 1);
data32 |= (para->timing.h_pol << 2);
data32 |= (para->timing.v_pol << 3);
data32 |= (0 << 4);
@@ -1254,6 +1255,8 @@ static int hdmitx_set_dispmode(struct hdmitx_hw_common *tx_hw)
data32 |= (0 << 24);
data32 |= (0 << 28);
break;
default:
break;
}
hd21_write_reg(VPU_HDMI_SETTING, data32);
/* for s7/s1a, ycbcr -> rgb */