OSDN Git Service

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)
commit952d1a6b0f839e0b5aba33b4799d5bc679a5e60c
treed74a0116badd3c5086355f8901dbdd2a7a306703
parent212d9994d0b5b951fcdb8ce454c8d91521ae20d6
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