summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 09:31:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 09:31:57 +0000
commite4e11a70baaddcfde51007afbbf66fab7532d6d1 (patch)
treebd199af6c1e543d5cff69f1c23ed1f7e2e22ceb6 /sys/dev/pci/drm
parent4c9c7626637876a3d7035c8586745991e73fd7f8 (diff)
pool_setipl for cardbus and drm pools.
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 58fe240600c..52c191a0258 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_drv.c,v 1.147 2016/04/08 08:27:53 kettenis Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.148 2016/08/24 09:31:56 dlg Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -438,6 +438,7 @@ drm_attach(struct device *parent, struct device *self, void *aux)
/* XXX unique name */
pool_init(&dev->objpl, dev->driver->gem_size, 0, 0, 0,
"drmobjpl", NULL);
+ pool_setipl(&dev->objpl, IPL_NONE);
}
if (dev->driver->driver_features & DRIVER_GEM) {