|
@@ -328,7 +328,7 @@ mi_set_context(struct intel_ring_buffer *ring,
|
|
* itlb_before_ctx_switch.
|
|
* itlb_before_ctx_switch.
|
|
*/
|
|
*/
|
|
if (IS_GEN6(ring->dev) && ring->itlb_before_ctx_switch) {
|
|
if (IS_GEN6(ring->dev) && ring->itlb_before_ctx_switch) {
|
|
- ret = ring->flush(ring, 0, 0);
|
|
|
|
|
|
+ ret = ring->flush(ring, I915_GEM_GPU_DOMAINS, 0);
|
|
if (ret)
|
|
if (ret)
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|