drm/i915: Disable "disabled FBC" message when a no-op
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
5c12a07e80
commit
a5cad620b3
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue