Re: [PATCH] drm/i915: Print the changes required for modeset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/8/13 Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>:
> After computing the stage changes for the set_config, record those in
> the debug log.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

I've already written different versions of this patch when debugging
things in the past. Definitely useful.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/intel_display.c |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index a21f935..4f9c3d8 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -8884,6 +8884,9 @@ intel_set_config_compute_mode_changes(struct drm_mode_set *set,
>                 drm_mode_debug_printmodeline(set->mode);
>                 config->mode_changed = true;
>         }
> +
> +       DRM_DEBUG_KMS("computed changes for [CRTC:%d], mode_changed=%d, fb_changed=%d\n",
> +                       set->crtc->base.id, config->mode_changed, config->fb_changed);
>  }
>
>  static int
> --
> 1.7.9.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Paulo Zanoni
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux