diff options
author | Greg Hackmann <[email protected]> | 2019-06-13 15:34:07 -0700 |
---|---|---|
committer | Sumit Semwal <[email protected]> | 2019-06-14 15:00:51 +0530 |
commit | bb2bb903042517b8fb17b2bc21e00512f2dcac01 (patch) | |
tree | cae5b81f60ea2d1ceefd2e2d3bfe3fd4e8aa63da /lib/irq_poll.c | |
parent | ed63bb1d1f8469586006a9ca63c42344401aa2ab (diff) |
dma-buf: add DMA_BUF_SET_NAME ioctls
This patch adds complimentary DMA_BUF_SET_NAME ioctls, which lets
userspace processes attach a free-form name to each buffer.
This information can be extremely helpful for tracking and accounting
shared buffers. For example, on Android, we know what each buffer will
be used for at allocation time: GL, multimedia, camera, etc. The
userspace allocator can use DMA_BUF_SET_NAME to associate that
information with the buffer, so we can later give developers a
breakdown of how much memory they're allocating for graphics, camera,
etc.
Signed-off-by: Greg Hackmann <[email protected]>
Signed-off-by: Chenbo Feng <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions