author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Thu, 5 Dec 2013 22:15:30 +0000 (03:45 +0530) | ||
committer | Amarinder Bindra <a-bindra@ti.com> | |
Wed, 11 Dec 2013 06:27:05 +0000 (11:57 +0530) | ||
commit | 2839751687e8eb574021616152e14d514c005f60 | |
tree | 40c345f457dad6beaf7ed39a5cc00297a2654c1a | tree | snapshot (tar.xz tar.gz zip) |
parent | ca60ce09b4deb12ea4239afdf7298db72e9b1162 | commit | diff |
dmabuftest: Don't call omap_bo_dmabuf multiple times
Each call to omap_bo_dmabuf returns a duplicated dmabuf fd
Therefore, fd from reqbuf (exported first time) will not match with
fd of the same buffer while queueing due to dup(fd)
Using buffer->fd array for saving dmabuf fds
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Each call to omap_bo_dmabuf returns a duplicated dmabuf fd
Therefore, fd from reqbuf (exported first time) will not match with
fd of the same buffer while queueing due to dup(fd)
Using buffer->fd array for saving dmabuf fds
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
util/v4l2.c | diff | blob | history |