hdmitx: fix wrong 420 valid_mode [1/1]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Fri, 12 Apr 2019 08:58:08 +0000 (16:58 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 15 Apr 2019 08:00:58 +0000 (16:00 +0800)
commit396ad38985ed2a88858045ce46aa37c6a6375b01
tree3d097e678c5f7cf36c871075b55065beba427c1a
parentfed72eb16ba1598eff842af73c3f4b46cee8426d
hdmitx: fix wrong 420 valid_mode [1/1]

PD#SWPL-6896

Problem:
In the HF1-31 Iter 03 test, the Rx EDID's max tmds clock is 600MHz,
and it doesn't claim that it supports Y420 modes. But
echo 2160p60hz,420,8bit > /sys/class/amhdmitx/amhdmitx0/valid_mode
'cat valid_mode' will get 1.

Solution:
Add Y420 8bit check

Verify:
G12/U212

Change-Id: I0a128eb33aeb2b4bcbf253eff49e9c5186386af1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c