mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-26 12:47:53 +00:00
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 */
|
/* 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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user