From a2f483ef833ce7a6f3e0b975d9e49267960b288e Mon Sep 17 00:00:00 2001 From: Nikhil Devshatwar Date: Wed, 26 Nov 2014 14:33:50 +0530 Subject: [PATCH] dmabuftest: Use single planar buffers VIP driver does not support multiplanar buffers. For NV12 format, UV plane is assumed to be contiguous with the Y plane. Therefore, use all the single planar buffers So that DRM also allocates single planar and VIP can consume them for NV12 capture. Signed-off-by: Nikhil Devshatwar --- dmabuftest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmabuftest.c b/dmabuftest.c index 0dbb32a..bebe9dd 100644 --- a/dmabuftest.c +++ b/dmabuftest.c @@ -111,6 +111,8 @@ main(int argc, char **argv) return 1; } + disp->multiplanar = false; + for (i = 1; i < argc; i++) { if (!argv[i]) continue; -- 2.26.2