From 6e847e0580f418ff133cfb38fdcf210684517759 Mon Sep 17 00:00:00 2001 From: Xuhua Zhang Date: Thu, 22 Nov 2018 20:04:48 +0800 Subject: [PATCH] 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 --- drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.h b/drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.h index 66aabab..d97d767 100644 --- a/drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.h +++ b/drivers/amlogic/media/vin/tvin/vdin/vdin_canvas.h @@ -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); -- 2.7.4