From: Lucas Stach Date: Wed, 5 Apr 2017 13:11:15 +0000 (-0300) Subject: [media] coda: bump maximum number of internal framebuffers to 17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03d67e706fc0cbae4871d82b8c1defd76f3cefd8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] coda: bump maximum number of internal framebuffers to 17 The h.264 standard allows up to 16 reference frame for the high profile and we need one additional internal framebuffer when the VDOA is in use. Lift the current maximum of 8 internal framebuffers to allow playback of those video streams. Signed-off-by: Lucas Stach Acked-by: Philipp Zabel Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h index 5e762f5c533d..20222befb9b2 100644 --- a/drivers/media/platform/coda/coda.h +++ b/drivers/media/platform/coda/coda.h @@ -28,7 +28,7 @@ #include "coda_regs.h" -#define CODA_MAX_FRAMEBUFFERS 8 +#define CODA_MAX_FRAMEBUFFERS 17 #define FMO_SLICE_SAVE_BUF_SIZE (32) enum {