summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i915_fence.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/linux-core/i915_fence.c b/linux-core/i915_fence.c
index 673ebd0e..80ef3ab2 100644
--- a/linux-core/i915_fence.c
+++ b/linux-core/i915_fence.c
@@ -58,13 +58,9 @@ static void i915_perform_flush(drm_device_t * dev)
diff = sequence - fm->exe_flush_sequence;
if (diff < driver->wrap_diff) {
fm->pending_exe_flush = 0;
- /*
- * Turn off user IRQs
- */
+ i915_user_irq_off(dev_priv);
} else {
- /*
- * Turn on user IRQs
- */
+ i915_user_irq_on(dev_priv);
}
}
}