[Intel-gfx] [PATCH] drm/i915/debugfs: remove VBT data about DRRS

Ville Syrjälä ville.syrjala at linux.intel.com
Tue Jan 28 15:51:14 UTC 2020


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 <jani.nikula at intel.com>
> ---
>  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ä <ville.syrjala at linux.intel.com>

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

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list