[Intel-gfx] [PATCH 18/22] drm/i915: Choose not to evict faultable objects from the GGTT
Chris Wilson
chris at chris-wilson.co.uk
Tue Aug 16 11:46:05 UTC 2016
On Tue, Aug 16, 2016 at 02:31:00PM +0300, Joonas Lahtinen wrote:
> On ti, 2016-08-16 at 11:42 +0100, Chris Wilson wrote:
> > @@ -1751,6 +1759,12 @@ int i915_gem_fault(struct vm_area_struct *area, struct vm_fault *vmf)
> > (area->vm_end - area->vm_start) / PAGE_SIZE -
> > partial.params.partial.offset);
> >
> > + /* If the partial covers the entire object, just create a
> > + * normal VMA.
> > + */
> > + if (chunk_size <= obj->base.size >> PAGE_SHIFT)
>
> Surely you meant >= ?
Sigh. Yes.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list