[Mesa-dev] [PATCH v2] vc4: add hash table look-up for exported dmabufs
Eric Anholt
eric at anholt.net
Tue Jul 26 00:47:39 UTC 2016
Rob Herring <robh at kernel.org> writes:
> It is necessary to reuse existing BOs when dmabufs are imported. There
> are 2 cases that need to be handled. dmabufs can be created/exported and
> imported by the same process and can be imported multiple times.
> Copying other drivers, add a hash table to track exported BOs so the
> BOs get reused.
>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Rob Herring <robh at kernel.org>
Looks good to me, other than a bit of funny whitespace that I'll fix up.
I built a piglit test for this today (want to go take a look at those?),
and once I get a piglit run through, I'll push the change.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160725/9782cdf9/attachment.sig>
More information about the mesa-dev
mailing list