[Intel-gfx] [PATCH 19/29] drm/i915: turn bound_ggtt checks to bound_any
Chris Wilson
chris at chris-wilson.co.uk
Sat Aug 3 13:03:35 CEST 2013
On Wed, Jul 31, 2013 at 05:00:12PM -0700, Ben Widawsky wrote:
> In some places, we want to know if an object is bound in any address
> space, and not just the global GTT. This often applies when there is a
> single global resource (object, pages, etc.)
>
> function | reason
> --------------------------------------------------
> i915_gem_object_is_inactive | global object
> i915_gem_object_put_pages | object's pages
> 915_gem_object_unpin | global object
> i915_gem_execbuffer_unreserve_object | temporary until we plumb vma
> pread/pread | object's domain
Most of these we want to operate on ggtt, so this change looks confused
at best.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list