Lines Matching refs:topology_state
4368 struct drm_dp_mst_topology_state *topology_state; in drm_dp_atomic_find_time_slots() local
4373 topology_state = drm_atomic_get_mst_topology_state(state, mgr); in drm_dp_atomic_find_time_slots()
4374 if (IS_ERR(topology_state)) in drm_dp_atomic_find_time_slots()
4375 return PTR_ERR(topology_state); in drm_dp_atomic_find_time_slots()
4378 topology_state->pending_crtc_mask |= drm_crtc_mask(conn_state->crtc); in drm_dp_atomic_find_time_slots()
4381 payload = drm_atomic_get_mst_payload_state(topology_state, port); in drm_dp_atomic_find_time_slots()
4399 req_slots = DIV_ROUND_UP(dfixed_const(pbn), topology_state->pbn_div.full); in drm_dp_atomic_find_time_slots()
4418 list_add(&payload->next, &topology_state->payloads); in drm_dp_atomic_find_time_slots()
4458 struct drm_dp_mst_topology_state *topology_state; in drm_dp_atomic_release_time_slots() local
4481 topology_state = drm_atomic_get_mst_topology_state(state, mgr); in drm_dp_atomic_release_time_slots()
4482 if (IS_ERR(topology_state)) in drm_dp_atomic_release_time_slots()
4483 return PTR_ERR(topology_state); in drm_dp_atomic_release_time_slots()
4485 topology_state->pending_crtc_mask |= drm_crtc_mask(old_conn_state->crtc); in drm_dp_atomic_release_time_slots()
4489 payload = drm_atomic_get_mst_payload_state(topology_state, port); in drm_dp_atomic_release_time_slots()
4492 port, &topology_state->base); in drm_dp_atomic_release_time_slots()
4503 topology_state->payload_mask &= ~BIT(payload->vcpi - 1); in drm_dp_atomic_release_time_slots()