diff options
author | Petko Manolov <petko.manolov@konsulko.com> | 2022-07-09 09:31:00 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-08-30 16:12:41 +0200 |
commit | 546fad2c35562aed7bdc6bb86f03c05e59373219 (patch) | |
tree | 8ac5031d5455e7411c8f149281c44107e73b8d78 /drivers/staging/media/imx | |
parent | 101418b374c94f321572d03610f0c9315caf70c7 (diff) | |
download | linux-stable-546fad2c35562aed7bdc6bb86f03c05e59373219.tar.gz linux-stable-546fad2c35562aed7bdc6bb86f03c05e59373219.tar.bz2 linux-stable-546fad2c35562aed7bdc6bb86f03c05e59373219.zip |
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 <petko.manolov@konsulko.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx')
-rw-r--r-- | drivers/staging/media/imx/imx7-media-csi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index a0553c24cce4..cbc66ef0eda8 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -160,7 +160,7 @@ #define IMX7_CSI_VIDEO_NAME "imx-capture" /* In bytes, per queue */ -#define IMX7_CSI_VIDEO_MEM_LIMIT SZ_64M +#define IMX7_CSI_VIDEO_MEM_LIMIT SZ_512M #define IMX7_CSI_VIDEO_EOF_TIMEOUT 2000 #define IMX7_CSI_DEF_MBUS_CODE MEDIA_BUS_FMT_UYVY8_2X8 |