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:
14f8614
)
drm/i915: Fix HSW power well control state read
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Tue, 30 Oct 2012 11:16:34 +0000
(19:16 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:04 +0000
(23:51 +0100)
Fix power well control state by reading real register offset.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index f85043ca41b5705f632c192bf57807ae69b6a2be..59c31f6238c19985ed530c23d7098f5365005102 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-3842,7
+3842,7
@@
void intel_init_power_wells(struct drm_device *dev)
if ((well & HSW_PWR_WELL_STATE) == 0) {
I915_WRITE(power_wells[i], well & HSW_PWR_WELL_ENABLE);
- if (wait_for(
I915_READ(power_wells[i]
& HSW_PWR_WELL_STATE), 20))
+ if (wait_for(
(I915_READ(power_wells[i])
& HSW_PWR_WELL_STATE), 20))
DRM_ERROR("Error enabling power well %lx\n", power_wells[i]);
}
}