drm/i915: Only close vma we open
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / gem / selftests / i915_gem_context.c
index f4f9332..87d264f 100644 (file)
@@ -1687,7 +1687,6 @@ static int read_from_scratch(struct i915_gem_context *ctx,
                goto skip_request;
 
        i915_vma_unpin(vma);
-       i915_vma_close(vma);
 
        i915_request_add(rq);