diff options
author | 2020-11-08 23:52:09 +0000 | |
---|---|---|
committer | 2020-11-08 23:52:09 +0000 | |
commit | b69c1869e9e70fc82dbff9d9723238bfe44690fc (patch) | |
tree | de6c1a5ef31dfc50214358a5eb78004db0b692b3 | |
parent | unbreak; missing NULL check (diff) | |
download | wireguard-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.c | 2 |
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"); |