projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebf0da
)
drm/i915: fix deadlock in fb teardown
author
Jesse Barnes
<
[email protected]
>
Tue, 20 Jul 2010 18:58:00 +0000
(11:58 -0700)
committer
Eric Anholt
<
[email protected]
>
Mon, 26 Jul 2010 18:27:46 +0000
(11:27 -0700)
At module unload time we'll tear down the fbdev state. We do so under
the struct mutex, so we shouldn't try to use the unlocked variant of
the GEM object unreference function or we may deadlock.
Signed-off-by: Jesse Barnes <
[email protected]
>
Signed-off-by: Eric Anholt <
[email protected]
>
drivers/gpu/drm/i915/intel_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_fb.c
b/drivers/gpu/drm/i915/intel_fb.c
index 0f4946a6057e566fe1a495af358ee7bb19341586..3e18c9e7729b6a475ce270d3329acf3d54288f1c 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_fb.c
+++ b/
drivers/gpu/drm/i915/intel_fb.c
@@
-236,7
+236,7
@@
int intel_fbdev_destroy(struct drm_device *dev,
drm_framebuffer_cleanup(&ifb->base);
if (ifb->obj)
- drm_gem_object_unreference
_unlocked
(ifb->obj);
+ drm_gem_object_unreference(ifb->obj);
return 0;
}