OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ad93f
)
drm/i915: intel_frontbuffer_flip_prepare() doesn't need struct_mutex
author
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Thu, 2 Jul 2015 22:25:11 +0000
(19:25 -0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 12:33:56 +0000
(14:33 +0200)
So release the lock earlier.
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
93d3bdf
..
e1f9ae6
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-11475,9
+11475,9
@@
static int intel_crtc_page_flip(struct drm_crtc *crtc,
to_intel_plane(primary)->frontbuffer_bit);
intel_fbc_disable(dev);
+ mutex_unlock(&dev->struct_mutex);
intel_frontbuffer_flip_prepare(dev,
to_intel_plane(primary)->frontbuffer_bit);
- mutex_unlock(&dev->struct_mutex);
trace_i915_flip_request(intel_crtc->plane, obj);