On Mon, Jul 25, 2016 at 8:47 PM, Eric Anholt <e...@anholt.net> wrote: > 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.
I don't suppose you have a branch somewhere? I should probably give that a try.. I've had https://trello.com/c/x34U0kTQ/114-teach-piglit-about-libdrm-freedreno-for-dmabuf-tests on my todo list for a while (but a generic gbm based solution seems even better than teaching piglit about libdrm_$drivername ;-)) BR, -R > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev