From: Philipp Zabel
Date: Tue, 21 May 2013 08:11:35 +0000 (-0300)
Subject: [media] videobuf2: Add support for file access mode flags for DMABUF exporting
X-Git-Tag: v3.14-rc1~20^2~419
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea3aba8482be6f3e4815f4014fa7302fc77c9c3f;p=pandora-kernel.git
[media] videobuf2: Add support for file access mode flags for DMABUF exporting
Currently it is not possible for userspace to map a DMABUF exported buffer
with write permissions. This patch allows to also pass O_RDONLY/O_RDWR when
exporting the buffer, so that userspace may map it with write permissions.
Signed-off-by: Philipp Zabel
Signed-off-by: Sylwester Nawrocki
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed