drm/i915: Update flush_all_caches() to take request structures
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_gem.c
index 79c4c328984db50f03d651f2e48098a7502b4c90..25fe1ef32eaacdc2ecda562b6b1fd3f05f760efe 100644 (file)
@@ -2507,9 +2507,9 @@ void __i915_add_request(struct drm_i915_gem_request *request,
         */
        if (flush_caches) {
                if (i915.enable_execlists)
-                       ret = logical_ring_flush_all_caches(ringbuf, request->ctx);
+                       ret = logical_ring_flush_all_caches(request);
                else
-                       ret = intel_ring_flush_all_caches(ring);
+                       ret = intel_ring_flush_all_caches(request);
                /* Not allowed to fail! */
                WARN(ret, "*_ring_flush_all_caches failed: %d!\n", ret);
        }
This page took 0.024775 seconds and 5 git commands to generate.