Same as the previous commit, but for nv50_mstc_detect() this time.

Signed-off-by: Lyude Paul <ly...@redhat.com>
Cc: sta...@vger.kernel.org
---
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c 
b/drivers/gpu/drm/nouveau/dispnv50/disp.c
index 66c40b56a0cb..a08dd827e892 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/disp.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c
@@ -930,7 +930,7 @@ nv50_mstc_detect(struct drm_connector *connector, bool 
force)
        if (ret < 0 && ret != -EACCES)
                return connector_status_disconnected;
 
-       conn_status = drm_dp_mst_detect_port(connector, mstc->port->mgr,
+       conn_status = drm_dp_mst_detect_port(connector, &mstc->mstm->mgr,
                                             mstc->port);
 
        pm_runtime_mark_last_busy(connector->dev->dev);
-- 
2.19.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to