Skip to content

drivers: media: cfe: Increase default size of embedded buffer #5923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/media/platform/raspberrypi/rp1_cfe/cfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ MODULE_PARM_DESC(verbose_debug, "verbose debugging messages");
#define MIN_WIDTH 16
#define MIN_HEIGHT 16
/* Default size of the embedded buffer */
#define DEFAULT_EMBEDDED_SIZE 8192
#define DEFAULT_EMBEDDED_SIZE 16384

const struct v4l2_mbus_framefmt cfe_default_format = {
.width = 640,
Expand All @@ -107,7 +107,7 @@ const struct v4l2_mbus_framefmt cfe_default_format = {
};

const struct v4l2_mbus_framefmt cfe_default_meta_format = {
.width = 8192,
.width = DEFAULT_EMBEDDED_SIZE,
.height = 1,
.code = MEDIA_BUS_FMT_SENSOR_DATA,
.field = V4L2_FIELD_NONE,
Expand Down