From 6b7df7e2db8f574431b0fe0c7f40eb15e977bd23 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 21 Jul 2021 01:01:21 +0000 Subject: [PATCH] drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms() From Jose Souza cae871baa4f30608dc2084ca8ddc8f7e49913721 in linux 5.10.y/5.10.52 24ff3dc18b99c4b912ab1746e803ddb3be5ced4c in mainline linux --- sys/dev/pci/drm/drm_dp_mst_topology.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/drm_dp_mst_topology.c b/sys/dev/pci/drm/drm_dp_mst_topology.c index 6d1b4431f89..f79d0804f8a 100644 --- a/sys/dev/pci/drm/drm_dp_mst_topology.c +++ b/sys/dev/pci/drm/drm_dp_mst_topology.c @@ -3395,7 +3395,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 @@ -3410,7 +3412,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; } -- 2.20.1