Re: [PATCH] drm/i915: Unwind failure on pinning the gen7 ppgtt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Dec 2018 at 03:06, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> If we fail to pin the ggtt vma slot for the ppgtt page tables, we need
> to unwind the locals before reporting the error. Or else on subsequent
> attempts to bind the page tables into the ggtt, we will already believe
> that the vma has been pinned and continue on blithely. If something else
> should happen to be at that location, choas ensues.
>
> Fixes: a2bbf7148342 ("drm/i915/gtt: Only keep gen6 page directories pinned while active")
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.19+
Reviewed-by: Matthew Auld <matthew.william.auld@xxxxxxxxx>



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux