[Intel-gfx] [PATCH 4/4] drm/i915/hdcp: Adjust timeout for read in DPMST Scenario

Murthy, Arun R arun.r.murthy at intel.com
Tue Aug 22 03:05:55 UTC 2023


> -----Original Message-----
> From: Kandpal, Suraj <suraj.kandpal at intel.com>
> Sent: Thursday, August 10, 2023 1:18 PM
> To: intel-gfx at lists.freedesktop.org
> Cc: Nautiyal, Ankit K <ankit.k.nautiyal at intel.com>; uma.shakar at intel.com;
> Murthy, Arun R <arun.r.murthy at intel.com>; Kandpal, Suraj
> <suraj.kandpal at intel.com>
> Subject: [PATCH 4/4] drm/i915/hdcp: Adjust timeout for read in DPMST
> Scenario
> 
> Ignore the timeout for dpmst hdcp scenario.

Justification?

Thanks and Regards,
Arun R Murthy
--------------------
> 
> Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp_hdcp.c
> b/drivers/gpu/drm/i915/display/intel_dp_hdcp.c
> index 2a37a43243a3..e8cdc5721966 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp_hdcp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp_hdcp.c
> @@ -571,7 +571,7 @@ int intel_dp_hdcp2_read_msg(struct intel_connector
> *connector,
>  		offset += ret;
>  	}
> 
> -	if (hdcp2_msg_data->msg_read_timeout > 0) {
> +	if (hdcp2_msg_data->msg_read_timeout > 0 && !aux->is_remote) {
>  		msg_expired = ktime_after(ktime_get_raw(), msg_end);
>  		if (msg_expired) {
>  			drm_dbg_kms(&i915->drm, "msg_id %d, entire msg
> read timeout(mSec): %d\n",
> --
> 2.25.1



More information about the Intel-gfx mailing list