summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-25 09:42:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-25 09:42:15 +0000
commit83e4067068dcfedbf87724c8da3da3191f29c3f9 (patch)
tree6ff691585a571998b93241f977c13a60ed357091 /sys
parent7e551396fd05bbf3fdae918f8ac5d96412b7a6e0 (diff)
Now that waitqueue_active() actually works, enable the WARN_ON that uses it.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/i915/intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_display.c b/sys/dev/pci/drm/i915/intel_display.c
index 41f5c796911..f99866dcc8d 100644
--- a/sys/dev/pci/drm/i915/intel_display.c
+++ b/sys/dev/pci/drm/i915/intel_display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intel_display.c,v 1.55 2015/09/23 23:12:12 kettenis Exp $ */
+/* $OpenBSD: intel_display.c,v 1.56 2015/09/25 09:42:14 kettenis Exp $ */
/*
* Copyright © 2006-2007 Intel Corporation
*
@@ -3009,7 +3009,7 @@ static void intel_crtc_wait_for_pending_flips(struct drm_crtc *crtc)
if (crtc->fb == NULL)
return;
-// WARN_ON(waitqueue_active(&dev_priv->pending_flip_queue));
+ WARN_ON(waitqueue_active(&dev_priv->pending_flip_queue));
wait_event(dev_priv->pending_flip_queue,
!intel_crtc_has_pending_flip(crtc));