Commit a5cad620 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Disable "disabled FBC" message when a no-op

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 5c12a07e
...@@ -1110,6 +1110,9 @@ void i8xx_disable_fbc(struct drm_device *dev) ...@@ -1110,6 +1110,9 @@ void i8xx_disable_fbc(struct drm_device *dev)
/* Disable compression */ /* Disable compression */
fbc_ctl = I915_READ(FBC_CONTROL); fbc_ctl = I915_READ(FBC_CONTROL);
if ((fbc_ctl & FBC_CTL_EN) == 0)
return;
fbc_ctl &= ~FBC_CTL_EN; fbc_ctl &= ~FBC_CTL_EN;
I915_WRITE(FBC_CONTROL, fbc_ctl); I915_WRITE(FBC_CONTROL, fbc_ctl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment