tvin: vdin: hdmirx format change, display exception [1/1]

PD#SWPL-2411

Problem:
hdmirx input 4096X2160 yuv422 in a short period of time,
formate change form yuv422 to yuv444, screen display is exception.

Solution:
force malloc yuv444 size

Verify:
Verify on txlx r311

Change-Id: Ie670b9a2b0c1eceffe423a1cf8606e78b6b347cd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
This commit is contained in:
Xuhua Zhang
2018-11-22 20:04:48 +08:00
committed by Jianxin Pan
parent fb9d7aee30
commit 6e847e0580

View File

@@ -31,8 +31,8 @@
#define VDIN_MIN_SOURCE_BITDEPTH 8
#define VDIN_YUV444_MAX_CMA_WIDTH 1920
#define VDIN_YUV444_MAX_CMA_HEIGH 1080
#define VDIN_YUV444_MAX_CMA_WIDTH 4096
#define VDIN_YUV444_MAX_CMA_HEIGH 2160
extern const unsigned int vdin_canvas_ids[2][VDIN_CANVAS_MAX_CNT];
extern void vdin_canvas_init(struct vdin_dev_s *devp);