Re: [Intel-gfx] [PATCH] drm/i915: Fix eviction when the GGTT is idle but full

2017-10-09 Thread Chris Wilson
Quoting Chris Wilson (2017-10-09 15:57:28) > @@ -190,19 +191,33 @@ i915_gem_evict_something(struct i915_address_space *vm, > if (!i915_is_ggtt(vm) || flags & PIN_NONBLOCK) > return -ENOSPC; > > + /* > +* Not everything in the GGTT is tracked via VMA using > +

[Intel-gfx] [PATCH] drm/i915: Fix eviction when the GGTT is idle but full

2017-10-09 Thread Chris Wilson
In the full-ppgtt world, we can fill the GGTT full of context objects. These context objects are currently implicitly tracked by the requests that pin them i.e. they are only unpinned when the request is completed and retired, but we do not have the link from the vma to the request (anymore). In or