From: Philipp Zabel
Date: Fri, 20 Jul 2012 11:54:29 +0000 (-0300)
Subject: [media] media: coda: allocate internal framebuffers separately from v4l2 buffers
X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~133
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec25f68d534798e4bc98b6c115757956422b2e45;p=pandora-kernel.git
[media] media: coda: allocate internal framebuffers separately from v4l2 buffers
Some codecs running on CODA need internal framebuffers for reference and
reconstructed frames. Allocate them separately, and do not use the input
vb2_buffers: those will be handed off to userspace regularly, and there
is no way to signal to the CODA which of the registered framebuffers are
off limits. As a consequence, userspace is now free to choose the number
of v4l2 buffers.
This patch also includes the code to set up the parameter buffer for
CODA7 and above with 64-bit AXI bus width.
Signed-off-by: Philipp Zabel
Reviewed-by: Javier Martin
Tested-by: Javier Martin
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed