diff mbox

[media] coda: bump maximum number of internal framebuffers to 17

Message ID 20170405131115.31769-1-l.stach@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Stach April 5, 2017, 1:11 p.m. UTC
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 <l.stach@pengutronix.de>
---
 drivers/media/platform/coda/coda.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philipp Zabel April 5, 2017, 1:50 p.m. UTC | #1
On Wed, 2017-04-05 at 15:11 +0200, Lucas Stach wrote:
> 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 <l.stach@pengutronix.de>

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp

> ---
>  drivers/media/platform/coda/coda.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
> index 799ffca72203..2a5bbe0050bb 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 {
diff mbox

Patch

diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
index 799ffca72203..2a5bbe0050bb 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 {