]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp/mst: Export drm_dp_get_vc_payload_bw()
authorImre Deak <imre.deak@intel.com>
Mon, 25 Jan 2021 17:36:35 +0000 (19:36 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 28 Jan 2021 19:34:02 +0000 (21:34 +0200)
commitea11f6a3cdf797bcb56a507d349b99f91c3720db
tree4058371c15db0a568c274a61022054ea140b53fb
parentc2e4ae1b8b9e56fb709cc396c2e351f599628153
drm/dp/mst: Export drm_dp_get_vc_payload_bw()

This function will be needed by the next patch where the driver
calculates the BW based on driver specific parameters, so export it.

At the same time sanitize the function params, passing the more natural
link rate instead of the encoding of the same rate.

v2:
- Fix function documentation. (Lyude)

Cc: Lyude Paul <lyude@redhat.com>
Cc: Ville Syrjala <ville.syrjala@intel.com>
Cc: <stable@vger.kernel.org>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210125173636.1733812-1-imre.deak@intel.com
drivers/gpu/drm/drm_dp_mst_topology.c
include/drm/drm_dp_mst_helper.h