1 From beba81b0b77268f72d717ab8ec98afe11a176ee0 Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Mon, 5 Feb 2024 12:12:17 +0000
4 Subject: [PATCH 1271/1295] drivers: media: cfe: Increase default size of
7 Increase the size of the default embedded buffer to 16k. This is done to
8 match what is advertised by the IMX219 driver and workaround a problem
9 where the embedded stream is not actually used. Without full streams API
10 support, the media pipeline validation will fail in these circumstances.
12 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
14 drivers/media/platform/raspberrypi/rp1_cfe/cfe.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 --- a/drivers/media/platform/raspberrypi/rp1_cfe/cfe.c
18 +++ b/drivers/media/platform/raspberrypi/rp1_cfe/cfe.c
19 @@ -93,7 +93,7 @@ MODULE_PARM_DESC(verbose_debug, "verbose
22 /* Default size of the embedded buffer */
23 -#define DEFAULT_EMBEDDED_SIZE 8192
24 +#define DEFAULT_EMBEDDED_SIZE 16384
26 const struct v4l2_mbus_framefmt cfe_default_format = {
28 @@ -107,7 +107,7 @@ const struct v4l2_mbus_framefmt cfe_defa
31 const struct v4l2_mbus_framefmt cfe_default_meta_format = {
33 + .width = DEFAULT_EMBEDDED_SIZE,
35 .code = MEDIA_BUS_FMT_SENSOR_DATA,
36 .field = V4L2_FIELD_NONE,