Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5cad620 authored by Chris Wilson's avatar Chris Wilson
Browse files

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

parent 5c12a07e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);