WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 52eecf8

Browse files
naushirpopcornmix
authored andcommitted
drivers: media: cfe: Increase default size of embedded buffer
Increase the size of the default embedded buffer to 16k. This is done to match what is advertised by the IMX219 driver and workaround a problem where the embedded stream is not actually used. Without full streams API support, the media pipeline validation will fail in these circumstances. Signed-off-by: Naushir Patuck <[email protected]>
1 parent 1568e7d commit 52eecf8

File tree

1 file changed

+2
-2
lines changed
  • drivers/media/platform/raspberrypi/rp1_cfe

1 file changed

+2
-2
lines changed

drivers/media/platform/raspberrypi/rp1_cfe/cfe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ MODULE_PARM_DESC(verbose_debug, "verbose debugging messages");
9393
#define MIN_WIDTH 16
9494
#define MIN_HEIGHT 16
9595
/* Default size of the embedded buffer */
96-
#define DEFAULT_EMBEDDED_SIZE 8192
96+
#define DEFAULT_EMBEDDED_SIZE 16384
9797

9898
const struct v4l2_mbus_framefmt cfe_default_format = {
9999
.width = 640,
@@ -107,7 +107,7 @@ const struct v4l2_mbus_framefmt cfe_default_format = {
107107
};
108108

109109
const struct v4l2_mbus_framefmt cfe_default_meta_format = {
110-
.width = 8192,
110+
.width = DEFAULT_EMBEDDED_SIZE,
111111
.height = 1,
112112
.code = MEDIA_BUS_FMT_SENSOR_DATA,
113113
.field = V4L2_FIELD_NONE,

0 commit comments

Comments
 (0)