Skip to content

Commit 24ff3dc

Browse files
zehortigozaLyude
authored andcommitted
drm/dp_mst: Add missing drm parameters to recently added call to drm_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]
1 parent 3769e4c commit 24ff3dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

drivers/gpu/drm/drm_dp_mst_topology.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3389,7 +3389,9 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)
33893389
mutex_unlock(&mgr->lock);
33903390

33913391
if (skip) {
3392-
drm_dbg_kms("Virtual channel %d is not in current topology\n", i);
3392+
drm_dbg_kms(mgr->dev,
3393+
"Virtual channel %d is not in current topology\n",
3394+
i);
33933395
continue;
33943396
}
33953397
/* Validated ports don't matter if we're releasing
@@ -3404,7 +3406,8 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)
34043406
payload->start_slot = req_payload.start_slot;
34053407
continue;
34063408
} else {
3407-
drm_dbg_kms("Fail:set payload to invalid sink");
3409+
drm_dbg_kms(mgr->dev,
3410+
"Fail:set payload to invalid sink");
34083411
mutex_unlock(&mgr->payload_lock);
34093412
return -EINVAL;
34103413
}

0 commit comments

Comments
 (0)