summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-22 16:10:19 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-22 16:10:19 +1100
commit7967db83dc35a973a1a5ddc6d50769a757622666 (patch)
tree32f4f501904638419a468ea4b215da86001ba012
parent2929776089b6c115fa6b04ede7722bbde917e450 (diff)
init rps.lock
-rw-r--r--sys/dev/pci/drm/i915_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index 5f635b26eb9..be731056be9 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -805,6 +805,7 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux)
mtx_init(&dev_priv->irq_lock, IPL_TTY);
mtx_init(&dev_priv->list_lock, IPL_NONE);
mtx_init(&dev_priv->request_lock, IPL_NONE);
+ mtx_init(&dev_priv->rps.lock, IPL_NONE);
mtx_init(&dev_priv->dpio_lock, IPL_NONE);
mtx_init(&mchdev_lock, IPL_NONE);