[Intel-gfx] [PATCH 4/4] drm/i915/hdcp: Adjust timeout for read in DPMST Scenario
Suraj Kandpal
suraj.kandpal at intel.com
Thu Aug 10 07:47:59 UTC 2023
Ignore the timeout for dpmst hdcp scenario.
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