Skip to content

Commit 036af24

Browse files
6by9ksacilotto
authored andcommitted
BCM2835-V4L2: Increase minimum resolution to 32x32
raspberrypi/linux#1498 showed up that 16x16 is failing to work on the GPU for some reason. GPU bug being tracked on raspberrypi/firmware#607 Workaround here by increasing minimum resolution via V4L2 to 32x32. Signed-off-by: Dave Stevenson <[email protected]>
1 parent e24c018 commit 036af24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/platform/bcm2835/bcm2835-camera.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737
#define BM2835_MMAL_VERSION "0.0.2"
3838
#define BM2835_MMAL_MODULE_NAME "bcm2835-v4l2"
39-
#define MIN_WIDTH 16
40-
#define MIN_HEIGHT 16
39+
#define MIN_WIDTH 32
40+
#define MIN_HEIGHT 32
4141
#define MIN_BUFFER_SIZE (80*1024)
4242

4343
#define MAX_VIDEO_MODE_WIDTH 1280

0 commit comments

Comments
 (0)