Re: [RFC 2/3] drm/i915: Track aggregate per-object VMA pin count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 21, 2016 at 01:05:52PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> 
> 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
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux