diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2014-09-09 13:39:27 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2014-10-10 23:43:56 +0530 |
commit | 2cbdc368dc97eedbeee140c9d3c2b0fe37e61941 (patch) | |
tree | 5fc1df6974827950c67d73e13e4c3f7676523a71 /MAINTAINERS | |
parent | c798360cd1438090d51eeaa8e67985da11362eba (diff) |
dma-buf: Add constraints sharing information
At present, struct device lacks a mechanism of exposing memory
access constraints for the device.
Consequently, there is also no mechanism to share these constraints
while sharing buffers using dma-buf.
If we add support for sharing such constraints, we could use that
to try to collect requirements of different buffer-sharing devices
to allocate buffers from a pool that satisfies requirements of all
such devices.
This is an attempt to add this support; at the moment, only a bitmask
is added, but if post discussion, we realise we need more information,
we could always extend the definition of constraint.
A new dma-buf op is also added, to allow exporters to interpret or decide
on constraint-masks on their own. A default implementation is provided to
just AND (&) all the constraint-masks.
What constitutes a constraint-mask could be left for interpretation on a
per-platform basis, while defining some common masks.
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Cc: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions