[Mesa-dev] [PATCH] i965: Avoids loop for buffer object availability in add_exec_bo

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 28 08:59:41 UTC 2017


Quoting aravindan.muthukumar at intel.com (2017-07-28 09:37:01)
> From: Aravindan Muthukumar <aravindan.muthukumar at intel.com>
> 
> Original logic loops over the list for every buffer object. Maintained
> a flag to identify whether bo is already there in list.

No. brw_bo is shared between many contexts, and so you are marking it as
available in every one. May I suggest looking for issues in
https://patchwork.freedesktop.org/series/27719/ and help bring that
series to fruition.
-Chris


More information about the mesa-dev mailing list