drm/i915: Only print "nothing to do" debug message as required.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 May 2010 12:18:16 +0000 (13:18 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 28 May 2010 17:43:14 +0000 (10:43 -0700)
commita939406fda8ddc7de69ee9186356d09dc6daaa2c
tree43f09a189c8ac38b67145b0e787eb916d741848b
parent808b24d6ed8b155aac17007788390ebfde263f30
drm/i915: Only print "nothing to do" debug message as required.

If the FBC is already disabled, then we do not even attempt to disable
FBC and so there is no point emitting a debug statement at that point,
having already emitted one saying why we are disabling FBC.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c