From: Eugeni Dodonov Date: Thu, 28 Jun 2012 20:11:43 +0000 (-0300) Subject: drm/i915: prevent bogus intel_update_fbc notifications X-Git-Tag: v3.6-rc1~83^2~39^2~12 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4c243e25739252ce08718f519a2d567fd1d91ff0;p=~emulex%2Finfiniband.git drm/i915: prevent bogus intel_update_fbc notifications 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 Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 0ed02c102fc..0bb69fd255a 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -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;