On Thu, Apr 21, 2016 at 01:05:53PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > i915_gem_obj_to_vma is one of the most expensive functions in > our profiles. Could avoiding some branching by replacing it > with arithmetic be beneficial? Some benchmarks suggest it > slightly might. We can do much better by changing the algorithm here (here and higher up the call chain). -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx