]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Drop local vm reference!
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Nov 2019 18:54:01 +0000 (18:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Nov 2019 20:11:13 +0000 (20:11 +0000)
commit940438ffae714b623675c899aa1f634676ca38f6
treed74a0116badd3c5086355f8901dbdd2a7a306703
parent2add127d4a7f314bec85464f9318c0a1071ce17c
drm/i915/selftests: Drop local vm reference!

After obtaining a local reference to the vm from the context, remember
to drop it before it goes out of scope!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191128185402.110678-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c