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:
3fa2e0e
)
drm/i915: Actually write the correct bits to DPFC_CONTROL on CTG
author
Ville Syrjälä
<
[email protected]
>
Thu, 23 Jan 2014 14:49:13 +0000
(16:49 +0200)
committer
Daniel Vetter
<
[email protected]
>
Sat, 25 Jan 2014 20:17:03 +0000
(21:17 +0100)
We set up all the bits for DPFC_CONTROL but forgot to actually
write them to the register. Oops.
Signed-off-by: Ville Syrjälä <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index a7af5b4d3eb47f1478958d73b387c76e324c7537..75aceaaace8e259f95248a22d633c96a48b8fc00 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-165,7
+165,7
@@
static void g4x_enable_fbc(struct drm_crtc *crtc)
I915_WRITE(DPFC_FENCE_YOFF, crtc->y);
/* enable it... */
- I915_WRITE(DPFC_CONTROL,
I915_READ(DPFC_CONTROL)
| DPFC_CTL_EN);
+ I915_WRITE(DPFC_CONTROL,
dpfc_ctl
| DPFC_CTL_EN);
DRM_DEBUG_KMS("enabled fbc on plane %c\n", plane_name(intel_crtc->plane));
}