diff options
author | Dave Airlie <airlied@redhat.com> | 2015-02-24 00:23:55 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 17:26:45 +0100 |
commit | 87f5942d1f7bc320a0ec70ac4a8a3396024c7091 (patch) | |
tree | 2ce292b4c6afea3ac0c48af3bcf734660f6ff42f /include/drm/drm_dp_mst_helper.h | |
parent | drm/radeon: program auxch directly (v2) (diff) | |
download | linux-87f5942d1f7bc320a0ec70ac4a8a3396024c7091.tar.xz linux-87f5942d1f7bc320a0ec70ac4a8a3396024c7091.zip |
drm/dp_mst: add a function to retrieve vcpi slots
radeon requires this to get the slots for later filling
out a table on every transition.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm/drm_dp_mst_helper.h')
-rw-r--r-- | include/drm/drm_dp_mst_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_dp_mst_helper.h b/include/drm/drm_dp_mst_helper.h index 00c1da927245..a2507817be41 100644 --- a/include/drm/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -486,6 +486,8 @@ int drm_dp_calc_pbn_mode(int clock, int bpp); bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, int pbn, int *slots); +int drm_dp_mst_get_vcpi_slots(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port); + void drm_dp_mst_reset_vcpi_slots(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port); |