[Intel-gfx] [PATCH 2/2] drm/i915: Output scaler related pipe config debug in a single line
Konduru, Chandra
chandra.konduru at intel.com
Sun May 17 22:27:51 PDT 2015
Reviewed-by: Chandra Konduru <chandra.konduru at intel.com>
> -----Original Message-----
> From: Tvrtko Ursulin [mailto:tvrtko.ursulin at linux.intel.com]
> Sent: Wednesday, May 13, 2015 8:51 AM
> To: Intel-gfx at lists.freedesktop.org
> Cc: Ursulin, Tvrtko; Konduru, Chandra
> Subject: [PATCH 2/2] drm/i915: Output scaler related pipe config debug in a
> single line
>
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Just so it is grouped logically in line with other data and makes a rather verbose
> output a bit shorter.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Chandra Konduru <chandra.konduru at intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c
> b/drivers/gpu/drm/i915/intel_display.c
> index b3ed8a0..92f3324 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -11404,9 +11404,10 @@ static void intel_dump_pipe_config(struct
> intel_crtc *crtc,
> DRM_DEBUG_KMS("port clock: %d\n", pipe_config->port_clock);
> DRM_DEBUG_KMS("pipe src size: %dx%d\n",
> pipe_config->pipe_src_w, pipe_config->pipe_src_h);
> - DRM_DEBUG_KMS("num_scalers: %d\n", crtc->num_scalers);
> - DRM_DEBUG_KMS("scaler_users: 0x%x\n", pipe_config-
> >scaler_state.scaler_users);
> - DRM_DEBUG_KMS("scaler id: %d\n", pipe_config-
> >scaler_state.scaler_id);
> + DRM_DEBUG_KMS("num_scalers: %d, scaler_users: 0x%x, scaler_id:
> %d\n",
> + crtc->num_scalers,
> + pipe_config->scaler_state.scaler_users,
> + pipe_config->scaler_state.scaler_id);
> DRM_DEBUG_KMS("gmch pfit: control: 0x%08x, ratios: 0x%08x, lvds
> border: 0x%08x\n",
> pipe_config->gmch_pfit.control,
> pipe_config->gmch_pfit.pgm_ratios,
> --
> 2.4.0
More information about the Intel-gfx
mailing list