From c87f7079a0acdad4c1029a9c297683c8254e13bd Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Wed, 3 Apr 2013 15:26:48 +0800 Subject: [PATCH] Raises the limit of number of decodes in mfc_dec. BUG=chromium:221501 TEST=Run a modified video_decode_accelerator_unittest on daisy and link Signed-off-by: Owen Lin Change-Id: If047c5aee937c51cbe57bda4a1b5feca975e9b12 Reviewed-on: https://gerrit.chromium.org/gerrit/48215 Reviewed-by: John Sheu Tested-by: Owen Lin Commit-Queue: Owen Lin --- drivers/media/video/s5p-mfc/s5p_mfc_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_common.h b/drivers/media/video/s5p-mfc/s5p_mfc_common.h index 202d1d7a37a8..09f1a14ed17f 100644 --- a/drivers/media/video/s5p-mfc/s5p_mfc_common.h +++ b/drivers/media/video/s5p-mfc/s5p_mfc_common.h @@ -51,7 +51,7 @@ static inline dma_addr_t s5p_mfc_mem_cookie(void *a, void *b) /* MFC definitions */ #define MFC_MAX_EXTRA_DPB 5 #define MFC_MAX_BUFFERS 32 -#define MFC_NUM_CONTEXTS 4 +#define MFC_NUM_CONTEXTS 8 /* Interrupt timeout */ #define MFC_INT_TIMEOUT 2000 /* Busy wait timeout */ -- 2.20.1