drm/i915: prevent bogus intel_update_fbc notifications
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Thu, 28 Jun 2012 20:11:43 +0000 (17:11 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 07:56:07 +0000 (09:56 +0200)
This pollutes dmesg output even if we do not have FBC for the device, so
move the DRM_DEBUG_KMS statement lower.

v2: just kill the message as suggested by Daniel.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 0ed02c102fc2129b093e3c848d1fa1404505f3b9..0bb69fd255a9f78f167624adc90369dcd01d57f7 100644 (file)
@@ -387,8 +387,6 @@ void intel_update_fbc(struct drm_device *dev)
        struct drm_i915_gem_object *obj;
        int enable_fbc;
 
-       DRM_DEBUG_KMS("\n");
-
        if (!i915_powersave)
                return;