diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-02 22:10:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-02 23:29:42 +0100 |
commit | 03fca66b7a36b52da8915341eee388267f6d5b73 (patch) | |
tree | 75550b9722f768138e7690078490fdc0dfcce994 /drivers/dca | |
parent | a85f22288d4a338f598c9f3e822a89fe71f891bf (diff) |
drm/i915: Also drop vm.ref along error paths for vma construction
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@intel.com>
Suggested-by: Andi Shyti <andi.shyti@intel.com>
Fixes: 2850748ef876 ("drm/i915: Pull i915_vma_pin under the vm->mutex")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: <stable@vger.kernel.org> # v5.5+
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702211015.29604-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions