Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Commit

Permalink
BCM2835-V4L2: Increase minimum resolution to 32x32
Browse files Browse the repository at this point in the history
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 <6by9@users.noreply.github.com>
  • Loading branch information
6by9 authored and ksacilotto committed Dec 11, 2017
1 parent fdb134d commit c5cacd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/bcm2835/bcm2835-camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

#define BM2835_MMAL_VERSION "0.0.2"
#define BM2835_MMAL_MODULE_NAME "bcm2835-v4l2"
#define MIN_WIDTH 16
#define MIN_HEIGHT 16
#define MIN_WIDTH 32
#define MIN_HEIGHT 32
#define MIN_BUFFER_SIZE (80*1024)

#define MAX_VIDEO_MODE_WIDTH 1280
Expand Down

0 comments on commit c5cacd5

Please sign in to comment.