Rob Herring <r...@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 <e...@anholt.net> > Signed-off-by: Rob Herring <r...@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.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev