Re: [PATCH] drm/i915: Downgrade hdcp logs from INFO to DEBUG_KMS

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

 



On Tue, Jan 30, 2018 at 04:12:14PM +0100, Daniel Vetter wrote:
> On Tue, Jan 30, 2018 at 09:47:01AM -0500, Sean Paul wrote:
> > HDCP was a bit too chatty to get along with the rest of the i915 driver.
> > 
> > Suggested-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
> > Signed-off-by: Sean Paul <seanpaul@xxxxxxxxxxxx>
> 
> Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

Thanks for your review! I've applied this to the topic branch.

Sean

> 
> > ---
> >  drivers/gpu/drm/i915/intel_hdcp.c | 9 +++++----
> >  1 file changed, 5 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c
> > index 9fc9da030514..b97184eccd9c 100644
> > --- a/drivers/gpu/drm/i915/intel_hdcp.c
> > +++ b/drivers/gpu/drm/i915/intel_hdcp.c
> > @@ -379,7 +379,8 @@ int intel_hdcp_auth_downstream(struct intel_digital_port *intel_dig_port,
> >  		return -ENXIO;
> >  	}
> >  
> > -	DRM_INFO("HDCP is enabled (%d downstream devices)\n", num_downstream);
> > +	DRM_DEBUG_KMS("HDCP is enabled (%d downstream devices)\n",
> > +		      num_downstream);
> >  	return 0;
> >  }
> >  
> > @@ -500,7 +501,7 @@ static int intel_hdcp_auth(struct intel_digital_port *intel_dig_port,
> >  	if (repeater_present)
> >  		return intel_hdcp_auth_downstream(intel_dig_port, shim);
> >  
> > -	DRM_INFO("HDCP is enabled (no repeater present)\n");
> > +	DRM_DEBUG_KMS("HDCP is enabled (no repeater present)\n");
> >  	return 0;
> >  }
> >  
> > @@ -532,7 +533,7 @@ static int _intel_hdcp_disable(struct intel_connector *connector)
> >  		return ret;
> >  	}
> >  
> > -	DRM_INFO("HDCP is disabled\n");
> > +	DRM_DEBUG_KMS("HDCP is disabled\n");
> >  	return 0;
> >  }
> >  
> > @@ -735,7 +736,7 @@ int intel_hdcp_check_link(struct intel_connector *connector)
> >  		goto out;
> >  	}
> >  
> > -	DRM_INFO("HDCP link failed, retrying authentication\n");
> > +	DRM_DEBUG_KMS("HDCP link failed, retrying authentication\n");
> >  
> >  	ret = _intel_hdcp_disable(connector);
> >  	if (ret) {
> > -- 
> > 2.16.0.rc1.238.g530d649a79-goog
> > 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch

-- 
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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