hdmitx: parse colorattribute from uboot [2/2]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Thu, 29 Nov 2018 11:00:46 +0000 (19:00 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Dec 2018 03:00:52 +0000 (11:00 +0800)
commit0e74dad129ced08c59ac40d69b3f7f3efb795b04
tree2fe8ace39d39cc0be6fe888ee0b6ec185bb0381a
parent8daa78bfb18182a4ff487698a81660ef2ce41f5f
hdmitx: parse colorattribute from uboot [2/2]

PD#SWPL-2181

Problem:
For some Rx, if the Tx cold boots up, the HPD can't be got in uboot.
That is to say, the output mode is CVBS in uboot, even HDMI cable is
connected. And during kernel boots up, it will reset to hdmi mode.
During the Android boots up, it will set to hdmi mode again. Twice
hdmi mode setting may cause TV flicks.

Solution:
Add parsing colorattribute from uboot and assign $attr to prevent
the second Android mode setting.

Verify:
S905X/P212

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