[Intel-gfx] [PATCH] drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 8 18:31:06 UTC 2018


Quoting Matthew Auld (2018-06-08 18:54:15)
> On 8 June 2018 at 18:32, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > When we want to unwind an error when allocating the PD for gen6, we call
> > gen6_ppgtt_clear_range() telling to clear upto the PD we've previously
> > cleared. However, we passed it the incorrect length, passing it the
> > endpoint instead. Fortunately, as the start was always 0, this has no
> > impact today, but tomorrow we want to start using non-zero origins.
> >
> > Reported-by: Matthew Auld <matthew.william.auld at gmail.com>
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> > Cc: Matthew Auld <matthew.william.auld at gmail.com>
> Reviewed-by: Matthew Auld <matthew.william.auld at gmail.com>

It was a good catch. Pushed with thanks,
-Chris


More information about the Intel-gfx mailing list