summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/i915_irq.c')
-rw-r--r--sys/dev/pci/drm/i915_irq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_irq.c b/sys/dev/pci/drm/i915_irq.c
index 8f4a86438fb..b670483851f 100644
--- a/sys/dev/pci/drm/i915_irq.c
+++ b/sys/dev/pci/drm/i915_irq.c
@@ -943,7 +943,10 @@ i915_error_work_func(void *arg1, void *arg2)
atomic_set(&dev_priv->mm.wedged, 0);
// kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_done_event);
}
-// complete_all(&dev_priv->error_completion);
+ mtx_enter(&dev_priv->error_completion_lock);
+ dev_priv->error_completion++;
+ wakeup(&dev_priv->error_completion);
+ mtx_leave(&dev_priv->error_completion_lock);
}
}