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.13-rc4~25^2~9
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b96a236e94d49d9396d0bbceb5524519c5c66e;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