drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
authorjsg <jsg@openbsd.org>
Wed, 21 Jul 2021 01:01:21 +0000 (01:01 +0000)
committerjsg <jsg@openbsd.org>
Wed, 21 Jul 2021 01:01:21 +0000 (01:01 +0000)
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

index 6d1b443..f79d080 100644 (file)
@@ -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;
                                        }