drm/dp_mst: Pass drm_dp_mst_topology_mgr to drm_dp_get_vc_payload_bw()
authorLyude Paul <lyude@redhat.com>
Fri, 23 Apr 2021 18:43:05 +0000 (14:43 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 27 Apr 2021 22:43:44 +0000 (18:43 -0400)
commitc869c5f8ceca43d61db2176f88a0321f4ce50961
treeb01b698de0af3120c2e7a2cbabc9a8ea99c110f4
parent318fbd7dfedd672f1adc2f9896ff84474b6a24cc
drm/dp_mst: Pass drm_dp_mst_topology_mgr to drm_dp_get_vc_payload_bw()

Since this is one of the few functions in drm_dp_mst_topology.c that
doesn't have any way of getting access to a drm_device, let's pass the
drm_dp_mst_topology_mgr down to this function so that it can use
drm_dbg_kms().

Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423184309.207645-14-lyude@redhat.com
Reviewed-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
include/drm/drm_dp_mst_helper.h