On Thu, Apr 21, 2016 at 01:05:52PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin <[email protected]> > > This allows trivial (non-iterating) i915_gem_obj_is_pinned > implementation which in turns prevents i915_gem_madvise_ioctl > showing up in profiles in benchmarks like SynMark2/OglDrvCtx.
madvise doesn't need to check is-pinned at all. And I prefer obj->bind_count. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
