[Intel-gfx] [PATCH] drm/i915: remove excessive scaler debugging messages

Daniel Vetter daniel at ffwll.ch
Fri Aug 14 06:16:15 PDT 2015


On Fri, Aug 14, 2015 at 03:59:53PM +0300, Jani Nikula wrote:
> There's so much scaler debugging messages that it makes other debugging
> hard. Remove them.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Queued for -next, thanks for the patch.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_atomic.c  | 3 ---
>  drivers/gpu/drm/i915/intel_display.c | 2 --
>  2 files changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/drivers/gpu/drm/i915/intel_atomic.c
> index e2531cf59266..9336e8030980 100644
> --- a/drivers/gpu/drm/i915/intel_atomic.c
> +++ b/drivers/gpu/drm/i915/intel_atomic.c
> @@ -149,9 +149,6 @@ int intel_atomic_setup_scalers(struct drm_device *dev,
>  	int i, j;
>  
>  	num_scalers_need = hweight32(scaler_state->scaler_users);
> -	DRM_DEBUG_KMS("crtc_state = %p need = %d avail = %d scaler_users = 0x%x\n",
> -		crtc_state, num_scalers_need, intel_crtc->num_scalers,
> -		scaler_state->scaler_users);
>  
>  	/*
>  	 * High level flow:
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 21aa745caed1..52720ff9f769 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -2935,8 +2935,6 @@ static void skl_detach_scaler(struct intel_crtc *intel_crtc, int id)
>  	I915_WRITE(SKL_PS_CTRL(intel_crtc->pipe, id), 0);
>  	I915_WRITE(SKL_PS_WIN_POS(intel_crtc->pipe, id), 0);
>  	I915_WRITE(SKL_PS_WIN_SZ(intel_crtc->pipe, id), 0);
> -	DRM_DEBUG_KMS("CRTC:%d Disabled scaler id %u.%u\n",
> -		intel_crtc->base.base.id, intel_crtc->pipe, id);
>  }
>  
>  /*
> -- 
> 2.1.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list