Repository navigation
Commit 83404d5
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
(cherry picked from commit a321fc2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>1 parent 761c70a commit 83404d5
2 files changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3629 | 3629 | | |
3630 | 3630 | | |
3631 | 3631 | | |
3632 | | - | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
3633 | 3643 | | |
3634 | | - | |
3635 | | - | |
3636 | | - | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
3637 | 3647 | | |
3638 | | - | |
| 3648 | + | |
| 3649 | + | |
3639 | 3650 | | |
| 3651 | + | |
3640 | 3652 | | |
3641 | 3653 | | |
3642 | 3654 | | |
| |||
3692 | 3704 | | |
3693 | 3705 | | |
3694 | 3706 | | |
3695 | | - | |
| 3707 | + | |
3696 | 3708 | | |
3697 | 3709 | | |
3698 | 3710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| 786 | + | |
786 | 787 | | |
787 | 788 | | |
788 | 789 | | |
| |||
0 commit comments