drm/i915: Make LRC (un)pinning work on context and engine
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_gem.c
index c1bb6a61745c2f21a3f8dbe2738fc98608dc5c71..a928823507c5aaa9ba61d6d2cd4506496e663c73 100644 (file)
@@ -2680,7 +2680,7 @@ void i915_gem_request_free(struct kref *req_ref)
 
        if (ctx) {
                if (i915.enable_execlists && ctx != req->i915->kernel_context)
-                       intel_lr_context_unpin(req);
+                       intel_lr_context_unpin(ctx, req->ring);
 
                i915_gem_context_unreference(ctx);
        }
This page took 0.024538 seconds and 5 git commands to generate.