Message ID | 20240723044513.3618353-1-suraj.kandpal@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/hdcp: Derive aux for mst from mst_port | expand |
diff --git a/drivers/gpu/drm/i915/display/intel_dp_hdcp.c b/drivers/gpu/drm/i915/display/intel_dp_hdcp.c index 2edffe62f360..58915a2ad5dd 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_hdcp.c +++ b/drivers/gpu/drm/i915/display/intel_dp_hdcp.c @@ -696,7 +696,7 @@ int intel_dp_hdcp_get_remote_capability(struct intel_connector *connector, if (!connector->mst_port) return -EINVAL; - aux = &connector->port->aux; + aux = &connector->mst_port->aux; ret = _intel_dp_hdcp2_get_capability(aux, hdcp2_capable); if (ret) drm_dbg_kms(&i915->drm,
Use the mst_port(intel_dp) variable to derive remote aux. We are sporadically seeing connector->port->aux giving an invalid address. Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> --- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)