diff options
Diffstat (limited to 'sys/dev/pci/drm/i915/intel_fb.c')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_fb.c b/sys/dev/pci/drm/i915/intel_fb.c index 2c27c357af1..c2ff357db63 100644 --- a/sys/dev/pci/drm/i915/intel_fb.c +++ b/sys/dev/pci/drm/i915/intel_fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_fb.c,v 1.9 2014/01/24 04:05:06 jsg Exp $ */ +/* $OpenBSD: intel_fb.c,v 1.10 2014/01/30 15:10:48 kettenis Exp $ */ /* * Copyright © 2007 David Airlie * @@ -237,7 +237,7 @@ static void intel_fbdev_destroy(struct drm_device *dev, drm_framebuffer_cleanup(&ifb->base); if (ifb->obj) { - drm_gem_object_unreference(&ifb->obj->base); + drm_gem_object_unreference_unlocked(&ifb->obj->base); ifb->obj = NULL; } } |