On Tue, Jan 28, 2020 at 05:19:42PM +0200, Jani Nikula wrote:
> The debugfs is not the place to print duplicated info about VBT data.
> 
> Signed-off-by: Jani Nikula <[email protected]>
> ---
>  drivers/gpu/drm/i915/i915_debugfs.c | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c 
> b/drivers/gpu/drm/i915/i915_debugfs.c
> index 8992698510ee..7f4976c10cea 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -2921,16 +2921,7 @@ static void drrs_status_per_crtc(struct seq_file *m,
>       }
>       drm_connector_list_iter_end(&conn_iter);
>  
> -     if (dev_priv->vbt.drrs_type == STATIC_DRRS_SUPPORT)
> -             seq_puts(m, "\tVBT: DRRS_type: Static");
> -     else if (dev_priv->vbt.drrs_type == SEAMLESS_DRRS_SUPPORT)
> -             seq_puts(m, "\tVBT: DRRS_type: Seamless");
> -     else if (dev_priv->vbt.drrs_type == DRRS_NOT_SUPPORTED)
> -             seq_puts(m, "\tVBT: DRRS_type: None");
> -     else
> -             seq_puts(m, "\tVBT: DRRS_type: FIXME: Unrecognized Value");
> -
> -     seq_puts(m, "\n\n");
> +     seq_puts(m, "\n");

Less stuff to worry about for my fix drrs branch.

Reviewed-by: Ville Syrjälä <[email protected]>

>  
>       if (to_intel_crtc_state(intel_crtc->base.state)->has_drrs) {
>               struct intel_panel *panel;
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to