projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c12a07
)
drm/i915: Disable "disabled FBC" message when a no-op
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 12:15:10 +0000
(13:15 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 12:15:10 +0000
(13:15 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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
e6f7ebf
..
b923854
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-1110,6
+1110,9
@@
void i8xx_disable_fbc(struct drm_device *dev)
/* Disable compression */
fbc_ctl = I915_READ(FBC_CONTROL);
+ if ((fbc_ctl & FBC_CTL_EN) == 0)
+ return;
+
fbc_ctl &= ~FBC_CTL_EN;
I915_WRITE(FBC_CONTROL, fbc_ctl);