projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e62bd
)
drm/i915: Use mode_config.mutex in ironlake_panel_vdd_work
author
Keith Packard
<keithp@keithp.com>
Mon, 31 Oct 2011 18:30:10 +0000
(11:30 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 1 Nov 2011 16:14:56 +0000
(09:14 -0700)
Use of the struct_mutex is not correct for locking in mode setting paths.
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index fc1a0832af4fed4a131c8611c4a1e3f3fc0e655b..7259034b33d1d477dc36e10c433420f616f04fed 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-971,9
+971,9
@@
static void ironlake_panel_vdd_work(struct work_struct *__work)
struct intel_dp, panel_vdd_work);
struct drm_device *dev = intel_dp->base.base.dev;
- mutex_lock(&dev->
struct_
mutex);
+ mutex_lock(&dev->
mode_config.
mutex);
ironlake_panel_vdd_off_sync(intel_dp);
- mutex_unlock(&dev->
struct_
mutex);
+ mutex_unlock(&dev->
mode_config.
mutex);
}
static void ironlake_edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync)