OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5abeca4
)
drm/i915: intel_unregister_dsm_handler() doesn't need struct_mutex
author
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Thu, 2 Jul 2015 22:25:12 +0000
(19:25 -0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 12:34:10 +0000
(14:34 +0200)
So don't grab the lock before calling the function.
Reviewed-by: Chris wilson <chris@chris-wilson.co.uk>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index
e1f9ae6
..
8ddeb29
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-15603,12
+15603,10
@@
void intel_modeset_cleanup(struct drm_device *dev)
*/
drm_kms_helper_poll_fini(dev);
- mutex_lock(&dev->struct_mutex);
-
intel_unregister_dsm_handler();
+ mutex_lock(&dev->struct_mutex);
intel_fbc_disable(dev);
-
mutex_unlock(&dev->struct_mutex);
/* flush any delayed tasks or pending work */