[Intel-gfx] [PATCH] drm/i915: Drop obj.page_pin_count after a failed vma->set_pages()

Matthew Auld matthew.william.auld at gmail.com
Tue Oct 15 09:44:09 UTC 2019


On Tue, 15 Oct 2019 at 10:39, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Before we attempt to set_pages on the vma, we claim a
> obj.pages_pin_count for it. If we subsequently fail to set the pages on
> the vma, we need to drop our pinning before returning the error.
>
> Reported-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list