Skip to content

Commit 546fad2

Browse files
petkomanolovmchehab
authored andcommitted
media: staging: media: imx: imx7-media-csi: Increase video mem limit
Some high resolution (like Sony IMX492 47Mpix) sensors requre large amount space for buffering. 64MB is far from sufficient so this patch increases the limit to 512MB. Signed-off-by: Petko Manolov <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 101418b commit 546fad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/media/imx/imx7-media-csi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160

161161
#define IMX7_CSI_VIDEO_NAME "imx-capture"
162162
/* In bytes, per queue */
163-
#define IMX7_CSI_VIDEO_MEM_LIMIT SZ_64M
163+
#define IMX7_CSI_VIDEO_MEM_LIMIT SZ_512M
164164
#define IMX7_CSI_VIDEO_EOF_TIMEOUT 2000
165165

166166
#define IMX7_CSI_DEF_MBUS_CODE MEDIA_BUS_FMT_UYVY8_2X8

0 commit comments

Comments
 (0)