vdin: 1080p 444 10bit mode buffer size not right [1/1]
authorYong Qin <yong.qin@amlogic.com>
Thu, 25 Jul 2019 06:18:52 +0000 (14:18 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 1 Aug 2019 06:26:18 +0000 (23:26 -0700)
commite2eca11b3d4043f8b6a9a3a293d56f9e3e6d559b
tree1e151750738853482ca892fb0778b3e5def3a0ea
parent066c5a9abb7b087dacb85462e7913ef7b3413313
vdin: 1080p 444 10bit mode buffer size not right [1/1]

PD#TV-7702

Problem:
1.1080p 444 10bit mode, buffer size is not big enough.
alloc as 444 8bit mode.
2.4k afbc not support 10bit mode

Solution:
hdr mode 4k, disable afbc mode.

Verify:
tl1 ref board

Change-Id: I3284a5279c08f360faaeaaf4e6ab47a9008f0da6
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
drivers/amlogic/media/vin/tvin/vdin/vdin_afbce.c
drivers/amlogic/media/vin/tvin/vdin/vdin_afbce.h
drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.c
drivers/amlogic/media/vin/tvin/vdin/vdin_ctl.c
drivers/amlogic/media/vin/tvin/vdin/vdin_debug.c
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.c
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.h