Commit 9e5b9590 authored by Mikita Lipski's avatar Mikita Lipski Committed by Alex Deucher
Browse files

drm/dp_mst: Rename drm_dp_mst_atomic_check_topology_state



[why]
drm_dp_mst_atomic_check_topology_state() should be renamed
to reflect more specific type of check. Since it is verifying
payload allocation limit it should be renamed into
drm_dp_mst_atomic_check_vcpi_alloc_limit()

Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
Signed-off-by: default avatarMikita Lipski <mikita.lipski@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cd82d82c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4810,7 +4810,7 @@ int drm_dp_mst_atomic_check_bw_limit(struct drm_dp_mst_branch *branch,
}

static inline int
drm_dp_mst_atomic_check_topology_state(struct drm_dp_mst_topology_mgr *mgr,
drm_dp_mst_atomic_check_vcpi_alloc_limit(struct drm_dp_mst_topology_mgr *mgr,
					 struct drm_dp_mst_topology_state *mst_state)
{
	struct drm_dp_vcpi_allocation *vcpi;
@@ -4937,7 +4937,7 @@ int drm_dp_mst_atomic_check(struct drm_atomic_state *state)
	int i, ret = 0;

	for_each_new_mst_mgr_in_state(state, mgr, mst_state, i) {
		ret = drm_dp_mst_atomic_check_topology_state(mgr, mst_state);
		ret = drm_dp_mst_atomic_check_vcpi_alloc_limit(mgr, mst_state);
		if (ret)
			break;
		ret = drm_dp_mst_atomic_check_bw_limit(mgr->mst_primary, mst_state);