From 639cc5284a055492cd7abe940285bf682b5d7664 Mon Sep 17 00:00:00 2001 From: Rimon Xu Date: Fri, 21 Jun 2019 08:46:11 +0800 Subject: [PATCH] video: rockchip: vpu: buffer list max nums up to 50. If the number of buffers in Import exceeds the original set of 30, it will result in each import buffer kicking out the original stored buffers, and all subsequent buffers need attachments. Change-Id: I6e547e1f8943d54995077827ae0d1019e659d797 Signed-off-by: Rimon Xu --- drivers/video/rockchip/vcodec/vcodec_iommu_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/vcodec/vcodec_iommu_ops.h b/drivers/video/rockchip/vcodec/vcodec_iommu_ops.h index ead745fde2b2..f55a45cc551e 100644 --- a/drivers/video/rockchip/vcodec/vcodec_iommu_ops.h +++ b/drivers/video/rockchip/vcodec/vcodec_iommu_ops.h @@ -19,7 +19,7 @@ #include #include "vcodec_service.h" -#define BUFFER_LIST_MAX_NUMS 30 +#define BUFFER_LIST_MAX_NUMS 50 #define ALLOCATOR_USE_ION 0x00000000 #define ALLOCATOR_USE_DRM 0x00000001