diff options
author | Chris Wilson <[email protected]> | 2020-07-02 22:10:15 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2020-07-06 17:16:03 -0700 |
commit | cf1976b11372cac3b57fbae1831f66a4486355d3 (patch) | |
tree | 30b404fc5782ea6b674007e19372b5173c2d56fd /scripts/gen_compile_commands.py | |
parent | 42723673a193d5f8e30dba6ea9826d42262a502b (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 <[email protected]>
Suggested-by: Andi Shyti <[email protected]>
Fixes: 2850748ef876 ("drm/i915: Pull i915_vma_pin under the vm->mutex")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Andi Shyti <[email protected]>
Cc: <[email protected]> # v5.5+
Reviewed-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 03fca66b7a36b52da8915341eee388267f6d5b73)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions