Files
linux/Documentation
Christopher James Halse Rogers 19e8697ba4 dma-buf: Expose buffer size to userspace (v2)
Each dma-buf has an associated size and it's reasonable for userspace
to want to know what it is.

Since userspace already has an fd, expose the size using the
size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0);
idiom.

v2: Added Daniel's sugeested documentation, with minor fixups

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2013-09-10 11:36:45 +05:30
..
2013-07-25 12:34:15 +02:00
2013-04-02 09:39:55 -07:00
2013-07-24 22:06:34 -07:00
2013-08-20 12:51:29 +02:00
2013-01-10 01:27:46 +01:00
2013-07-25 12:34:15 +02:00
2013-06-03 14:31:39 -07:00
2013-07-10 18:11:34 -07:00
2013-07-03 16:08:03 -07:00
2012-07-29 21:11:05 -03:00
2013-04-16 18:47:19 +09:00
2012-12-05 23:52:10 +00:00
2013-02-19 08:42:37 +01:00
2013-06-21 11:32:51 +02:00
2013-09-05 16:36:21 -06:00