author | Zhengrong.Zhu <zhengrong.zhu@amlogic.com> | 2020-05-06 11:10:06 (GMT) |
---|---|---|
committer | Shen Liu <shen.liu@amlogic.com> | 2020-07-31 11:33:29 (GMT) |
commit | 1057bafb127aff9779d419fe1ac4d6acb8317145 (patch) | |
tree | c617f559465ecf1da9d6ebb3e309c12ca8c8b6b1 | |
parent | 866837d305e8efbf1ee4e52116eeed48b8ab5e6e (diff) | |
download | common-1057bafb127aff9779d419fe1ac4d6acb8317145.zip common-1057bafb127aff9779d419fe1ac4d6acb8317145.tar.gz common-1057bafb127aff9779d419fe1ac4d6acb8317145.tar.bz2 |
hdmitx: In HDMI2.0 certification test, cannot be switched to 420 [1/1]
PD#SWPL-25446
Problem:
In the empty capmap processing, create the bitmap errorly.
Solution:
In the empty capmap processing, modify the code about the bitmap.
Verify:
Verify on the board of U212
Change-Id: I26d4d07692557c8d6b0df0c984282f81e13ab6c4
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
-rw-r--r-- | drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c index 30fe30a..9e1f02f 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c @@ -1164,7 +1164,7 @@ static int Edid_Y420CMDB_fill_all_vic(struct hdmitx_dev *hdmitx_device) memset(&(info->y420cmdb_bitmap[0]), 0xff, a); if ((b != 0) && (a < Y420CMDB_MAX)) - info->y420cmdb_bitmap[a] = (((1 << b) - 1) << (8-b)); + info->y420cmdb_bitmap[a] = (1 << b) - 1; info->bitmap_length = (b == 0) ? a : (a + 1); info->bitmap_valid = (info->bitmap_length != 0)?1:0; |