summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-08-18 15:16:17 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 16:32:19 +0200
commitbffba4737bf39542c4cb4d276f4bf18cfa0ffa21 (patch)
treee94f4316bac500da4eea426a1427645fd1aa9110 /include/media
parent[media] v4l: vsp1: Report device model and rev through media device information (diff)
downloadlinux-bffba4737bf39542c4cb4d276f4bf18cfa0ffa21.tar.xz
linux-bffba4737bf39542c4cb4d276f4bf18cfa0ffa21.zip
[media] v4l: vsp1: Fix tri-planar format support through DRM API
The vsp1 driver supports tri-planar formats, but the DRM API only passes two memory addresses. Add a third one. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/vsp1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/vsp1.h b/include/media/vsp1.h
index 9322d9775fb7..458b400373d4 100644
--- a/include/media/vsp1.h
+++ b/include/media/vsp1.h
@@ -26,7 +26,7 @@ int vsp1_du_setup_lif(struct device *dev, unsigned int width,
struct vsp1_du_atomic_config {
u32 pixelformat;
unsigned int pitch;
- dma_addr_t mem[2];
+ dma_addr_t mem[3];
struct v4l2_rect src;
struct v4l2_rect dst;
unsigned int alpha;