[PATCH] drm/i915/hdcp: Derive aux for mst from mst_port
Suraj Kandpal
suraj.kandpal at intel.com
Tue Jul 23 04:45:13 UTC 2024
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 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 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,
--
2.43.2
More information about the Intel-gfx
mailing list