Skip to content

Commit

Permalink
drm/i915: Disable "disabled FBC" message when a no-op
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Sep 22, 2010
1 parent 5c12a07 commit a5cad62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a5cad62

Please sign in to comment.