Skip to content

Commit

Permalink
drm/dp_mst: Add missing drm parameters to recently added call to drm_…
Browse files Browse the repository at this point in the history
…dbg_kms()

Commit 3769e4c ("drm/dp_mst: Avoid to mess up payload table by
ports in stale topology") added to calls to drm_dbg_kms() but it
missed the first parameter, the drm device breaking the build.

Fixes: 3769e4c ("drm/dp_mst: Avoid to mess up payload table by ports in stale topology")
Cc: Wayne Lin <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: José Roberto de Souza <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
zehortigoza authored and Lyude committed Jun 16, 2021
1 parent 3769e4c commit 24ff3dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/gpu/drm/drm_dp_mst_topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -3389,7 +3389,9 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)
mutex_unlock(&mgr->lock);

if (skip) {
drm_dbg_kms("Virtual channel %d is not in current topology\n", i);
drm_dbg_kms(mgr->dev,
"Virtual channel %d is not in current topology\n",
i);
continue;
}
/* Validated ports don't matter if we're releasing
Expand All @@ -3404,7 +3406,8 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)
payload->start_slot = req_payload.start_slot;
continue;
} else {
drm_dbg_kms("Fail:set payload to invalid sink");
drm_dbg_kms(mgr->dev,
"Fail:set payload to invalid sink");
mutex_unlock(&mgr->payload_lock);
return -EINVAL;
}
Expand Down

0 comments on commit 24ff3dc

Please sign in to comment.