[Intel-gfx] [PATCH] drm/i915: Also drop vm.ref along error paths for vma construction
Andi Shyti
andi at etezian.org
Thu Jul 2 21:15:14 UTC 2020
Hi Chris,
On Thu, Jul 02, 2020 at 10:10:15PM +0100, Chris Wilson wrote:
> Not only do we need to release the vm.ref we acquired for the vma on the
> duplicate insert branch, but also for the normal error paths, so roll
> them all into one.
>
> Reported-by: Andi Shyti <andi.shyti at intel.com>
> Suggested-by: Andi Shyti <andi.shyti at intel.com>
> Fixes: 2850748ef876 ("drm/i915: Pull i915_vma_pin under the vm->mutex")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Andi Shyti <andi.shyti at intel.com>
> Cc: <stable at vger.kernel.org> # v5.5+
I've never been mentioned this much before, not even at school.
But that's not enough and I'll give myself another mention:
Reviewed-by: Andi Shyti <andi.shyti at intel.com>
Andi
More information about the Intel-gfx
mailing list