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:
ef34ab8
)
drm/i915: re-add locking around hw state readout
author
Jesse Barnes
<
[email protected]
>
Fri, 21 Feb 2014 21:13:39 +0000
(13:13 -0800)
committer
Daniel Vetter
<
[email protected]
>
Wed, 5 Mar 2014 20:30:03 +0000
(21:30 +0100)
To silence locking complaints. This was a rebase failure on my part in
commit
fa9fa083d0606cb323f6105c17702460ea0a6780
Author: Jesse Barnes <
[email protected]
>
Date: Tue Feb 11 15:28:56 2014 -0800
drm/i915: read out hw state earlier v2
Reported-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Jesse Barnes <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
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 8d316c8bdf8fad90247e159bc455e20bfdd9d259..924f3cee4badb4c388e40fd3e5125060b50201d6 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-11042,7
+11042,9
@@
void intel_modeset_init(struct drm_device *dev)
/* Just in case the BIOS is doing something questionable. */
intel_disable_fbc(dev);
+ mutex_lock(&dev->mode_config.mutex);
intel_modeset_setup_hw_state(dev, false);
+ mutex_unlock(&dev->mode_config.mutex);
}
static void