diff options
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
-rw-r--r-- | drivers/gpu/drm/drm_dp_mst_topology.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index dc7ac0c60547..5a99135d39cd 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c | |||
@@ -3097,6 +3097,10 @@ static int drm_dp_init_vcpi(struct drm_dp_mst_topology_mgr *mgr, | |||
3097 | * @port as needed. It is not OK however, to call this function and | 3097 | * @port as needed. It is not OK however, to call this function and |
3098 | * drm_dp_atomic_release_vcpi_slots() in the same atomic check phase. | 3098 | * drm_dp_atomic_release_vcpi_slots() in the same atomic check phase. |
3099 | * | 3099 | * |
3100 | * When &drm_atomic_state.duplicated is set to %true%, this function will not | ||
3101 | * perform any error checking and will instead simply return the previously | ||
3102 | * recorded VCPI allocations. | ||
3103 | * | ||
3100 | * See also: | 3104 | * See also: |
3101 | * drm_dp_atomic_release_vcpi_slots() | 3105 | * drm_dp_atomic_release_vcpi_slots() |
3102 | * drm_dp_mst_atomic_check() | 3106 | * drm_dp_mst_atomic_check() |
@@ -3181,6 +3185,11 @@ EXPORT_SYMBOL(drm_dp_atomic_find_vcpi_slots); | |||
3181 | * drm_dp_atomic_find_vcpi_slots() on the same @port in a single atomic check | 3185 | * drm_dp_atomic_find_vcpi_slots() on the same @port in a single atomic check |
3182 | * phase. | 3186 | * phase. |
3183 | * | 3187 | * |
3188 | * When &drm_atomic_state.duplicated is set, this function will not | ||
3189 | * modify the VCPI allocations in &drm_dp_mst_topology_state.vcpis, so that | ||
3190 | * those VCPI allocations may be restored as-is from the duplicated state. In | ||
3191 | * this scenario, this function will always return 0. | ||
3192 | * | ||
3184 | * See also: | 3193 | * See also: |
3185 | * drm_dp_atomic_find_vcpi_slots() | 3194 | * drm_dp_atomic_find_vcpi_slots() |
3186 | * drm_dp_mst_atomic_check() | 3195 | * drm_dp_mst_atomic_check() |