[Intel-gfx] [PATCH 1/2] drm/i915: Only mark as map-and-fenceable when bound into the GGTT

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 3 09:13:36 CET 2014


On Fri, Oct 31, 2014 at 01:53:52PM +0000, Chris Wilson wrote:
> We use the obj->map_and_fenceable hint for when we already have a
> valid mapping of this object in the aperture. This hint can only apply
> to the GGTT and not to the aliasing-ppGTT. One user of the hint is
> execbuffer relocation, which began to fail when it tried to follow the
> hint and perform the relocate through the non-existent GGTT mapping.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85671
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Tested-by: huax.lu at intel.com

I have further patches to move the accounting here to the vma
bind/unbind callbacks, but this is the simpler bug fix.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list