diff options
| author | 2013-06-01 02:03:30 +0000 | |
|---|---|---|
| committer | 2013-06-01 02:03:30 +0000 | |
| commit | a764a20640cc6b902a30ce0ecb87eaf5e7a53d0c (patch) | |
| tree | 5da94f43c0123d9468d90811aeb036d73a0e47ea | |
| parent | Fix the include. Spotted by and OK naddy. (diff) | |
| download | wireguard-openbsd-a764a20640cc6b902a30ce0ecb87eaf5e7a53d0c.tar.xz wireguard-openbsd-a764a20640cc6b902a30ce0ecb87eaf5e7a53d0c.zip | |
Make mutexes that get used in interrupts IPL_TTY instead of IPL_NONE.
ok jsg@
Diffstat (limited to '')
| -rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.c | 8 | ||||
| -rw-r--r-- | sys/dev/pci/drm/i915/intel_pm.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index 29b95498d5f..ae5d214d42b 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_drv.c,v 1.31 2013/05/21 22:12:58 kettenis Exp $ */ +/* $OpenBSD: i915_drv.c,v 1.32 2013/06/01 02:03:30 kettenis Exp $ */ /* * Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -979,9 +979,9 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux) i915_gem_load(dev); mtx_init(&dev_priv->irq_lock, IPL_TTY); - mtx_init(&dev_priv->rps.lock, IPL_NONE); - mtx_init(&dev_priv->dpio_lock, IPL_NONE); - mtx_init(&mchdev_lock, IPL_NONE); + mtx_init(&dev_priv->rps.lock, IPL_TTY); + mtx_init(&dev_priv->dpio_lock, IPL_TTY); + mtx_init(&mchdev_lock, IPL_TTY); mtx_init(&dev_priv->error_completion_lock, IPL_NONE); rw_init(&dev_priv->rps.hw_lock, "rpshw"); diff --git a/sys/dev/pci/drm/i915/intel_pm.c b/sys/dev/pci/drm/i915/intel_pm.c index c013eb2e48b..6aec6c0a5a9 100644 --- a/sys/dev/pci/drm/i915/intel_pm.c +++ b/sys/dev/pci/drm/i915/intel_pm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_pm.c,v 1.5 2013/05/05 13:55:36 kettenis Exp $ */ +/* $OpenBSD: intel_pm.c,v 1.6 2013/06/01 02:03:30 kettenis Exp $ */ /* * Copyright © 2012 Intel Corporation * @@ -4674,7 +4674,7 @@ intel_gt_init(struct drm_device *dev) { struct inteldrm_softc *dev_priv = dev->dev_private; - mtx_init(&dev_priv->gt_lock, IPL_NONE); + mtx_init(&dev_priv->gt_lock, IPL_TTY); intel_gt_reset(dev); |
