media: v4l: vsp1: Fix display stalls when requesting too many inputs
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 3 Dec 2017 10:06:57 +0000 (05:06 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 15:21:40 +0000 (10:21 -0500)
commit5e3e4cb5e24b92773b194aa90066170b12133bc6
tree23f5a91fe16e231854dde1344355e84c97f2ef7d
parented3056f015de90a53127d05c34d49fe3e04675a4
media: v4l: vsp1: Fix display stalls when requesting too many inputs

Make sure we don't accept more inputs than the hardware can handle. This
is a temporary fix to avoid display stall, we need to instead allocate
the BRU or BRS to display pipelines dynamically based on the number of
planes they each use.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_drm.c