projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb8858
)
drm/i915: Add missing mutex_lock(&dev->struct_mutex)
author
Pierre Willenbrock
<pierre@pirsoft.de>
Mon, 23 Feb 2009 00:12:15 +0000
(10:12 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 23 Feb 2009 00:12:15 +0000
(10:12 +1000)
there might be a nicer way to fix this but this is the simplest for now.
Signed-off-by: Pierre Willenbrock <pierre@pirsoft.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 4d2baf7b00be43b8ec33a8f1511b0dbef988575f..65b635ce28c8c78da6563f21538d9d6434de23a9 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-1008,6
+1008,7
@@
static int intel_crtc_cursor_set(struct drm_crtc *crtc,
temp = CURSOR_MODE_DISABLE;
addr = 0;
bo = NULL;
+ mutex_lock(&dev->struct_mutex);
goto finish;
}