summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-11-08 23:52:09 +0000
committerjsg <jsg@openbsd.org>2020-11-08 23:52:09 +0000
commitb69c1869e9e70fc82dbff9d9723238bfe44690fc (patch)
treede6c1a5ef31dfc50214358a5eb78004db0b692b3
parentunbreak; missing NULL check (diff)
downloadwireguard-openbsd-b69c1869e9e70fc82dbff9d9723238bfe44690fc.tar.xz
wireguard-openbsd-b69c1869e9e70fc82dbff9d9723238bfe44690fc.zip
vblank seqlock is used from interrupt context so use IPL_TTY
-rw-r--r--sys/dev/pci/drm/drm_vblank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_vblank.c b/sys/dev/pci/drm/drm_vblank.c
index 937e8cb019c..d7312d42db7 100644
--- a/sys/dev/pci/drm/drm_vblank.c
+++ b/sys/dev/pci/drm/drm_vblank.c
@@ -481,7 +481,7 @@ int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs)
init_waitqueue_head(&vblank->queue);
setup_timer(&vblank->disable_timer, vblank_disable_fn,
(unsigned long)vblank);
- seqlock_init(&vblank->seqlock, IPL_NONE);
+ seqlock_init(&vblank->seqlock, IPL_TTY);
}
DRM_INFO("Supports vblank timestamp caching Rev 2 (21.10.2013).\n");