Lines Matching full:topology
56 * protocol. The helpers contain a topology manager and bandwidth manager.
1350 * Topology refcount overview
1355 * two different kinds of refcounts: topology refcounts, and malloc refcounts.
1357 * Topology refcounts are not exposed to drivers, and are handled internally
1359 * in-memory topology state from being changed in the middle of critical
1362 * of the topology until its topology refcount reaches zero. Additionally,
1370 * drm_dp_mst_branch allocated even after all of its topology references have
1372 * branch's last known state before it was disconnected from the topology.
1384 * Refcount relationships in a topology
1387 * Let's take a look at why the relationship between topology and malloc
1390 * .. kernel-figure:: dp-mst/topology-figure-1.dot
1392 * An example of topology and malloc refs in a DP MST topology with two
1393 * active payloads. Topology refcount increments are indicated by solid
1399 * As you can see in the above figure, every branch increments the topology
1406 * topology would start to look like the figure below.
1408 * .. kernel-figure:: dp-mst/topology-figure-2.dot
1413 * Whenever a port or branch device's topology refcount reaches zero, it will
1414 * decrement the topology refcounts of all its children, the malloc refcount
1416 * #4, this means they both have been disconnected from the topology and freed
1418 * #3, port #3 is removed from the topology but its &struct drm_dp_mst_port
1426 * connected to the topology. In this case, we would travel up the topology as
1429 * .. kernel-figure:: dp-mst/topology-figure-3.dot
1616 drm_printf(&p, "%s (%p) topology count reached 0, dumping history:\n", in __dump_topology_ref_history()
1726 * drm_dp_mst_topology_try_get_mstb() - Increment the topology refcount of a
1728 * @mstb: &struct drm_dp_mst_branch to increment the topology refcount of
1730 * Attempts to grab a topology reference to @mstb, if it hasn't yet been
1731 * removed from the topology (e.g. &drm_dp_mst_branch.topology_kref has
1732 * reached 0). Holding a topology reference implies that a malloc reference
1733 * will be held to @mstb as long as the user holds the topology reference.
1736 * reference to @mstb. If you already have a topology reference to @mstb, you
1744 * * 1: A topology reference was grabbed successfully
1745 * * 0: @port is no longer in the topology, no reference was grabbed
1765 * drm_dp_mst_topology_get_mstb() - Increment the topology refcount of a
1767 * @mstb: The &struct drm_dp_mst_branch to increment the topology refcount of
1771 * you are already guaranteed to have at least one active topology reference
1791 * drm_dp_mst_topology_put_mstb() - release a topology reference to a branch
1793 * @mstb: The &struct drm_dp_mst_branch to release the topology reference from
1795 * Releases a topology reference from @mstb by decrementing
1841 * drm_dp_mst_topology_try_get_port() - Increment the topology refcount of a
1843 * @port: &struct drm_dp_mst_port to increment the topology refcount of
1845 * Attempts to grab a topology reference to @port, if it hasn't yet been
1846 * removed from the topology (e.g. &drm_dp_mst_port.topology_kref has reached
1847 * 0). Holding a topology reference implies that a malloc reference will be
1848 * held to @port as long as the user holds the topology reference.
1851 * reference to @port. If you already have a topology reference to @port, you
1859 * * 1: A topology reference was grabbed successfully
1860 * * 0: @port is no longer in the topology, no reference was grabbed
1879 * drm_dp_mst_topology_get_port() - Increment the topology refcount of a port
1880 * @port: The &struct drm_dp_mst_port to increment the topology refcount of
1884 * you are already guaranteed to have at least one active topology reference
1904 * drm_dp_mst_topology_put_port() - release a topology reference to a port
1905 * @port: The &struct drm_dp_mst_port to release the topology reference from
1907 * Releases a topology reference from @port by decrementing
2292 * Drop a topology reference, and unlink the port from the in-memory topology
2965 * topology, but were not seen in this link address. Usually this in drm_dp_send_link_address()
2966 * means that they were removed while the topology was out of sync, in drm_dp_send_link_address()
3075 * Searches upwards in the topology starting from mstb to try to find the
3077 * topology. This can be used in order to perform operations like releasing
3153 * mstb could also be removed from the topology. In the future, this in drm_dp_payload_send_msg()
3156 * timeout if the topology is still connected to the system. in drm_dp_payload_send_msg()
3333 "VCPI %d for port %p not in topology, not creating a payload to remote\n", in drm_dp_add_payload_part1()
3378 drm_dbg_kms(mgr->dev, "Payload for VCPI %d not in topology, not sending remove\n", in drm_dp_remove_payload_part1()
3630 * drm_dp_mst_topology_mgr_set_mst() - Set the MST state for a topology manager
3719 * drm_dp_mst_topology_queue_probe - Queue a topology probe
3722 * Queue a work to probe the MST topology. Driver's should call this only to
3723 * sync the topology's HW->SW state after the MST link's parameters have
3772 * @sync: whether or not to perform topology reprobing synchronously
3786 * Returns: -1 if the MST topology was removed while we were suspended, 0
3830 * For the final step of resuming the topology, we need to bring the in drm_dp_mst_topology_mgr_resume()
3831 * state of our in-memory topology back into sync with reality. So, in drm_dp_mst_topology_mgr_resume()
3839 "Waiting for link probe work to finish re-syncing topology...\n"); in drm_dp_mst_topology_mgr_resume()
4075 drm_dbg_kms(mgr->dev, "Got CSN before finish topology probing. Skip it.\n"); in drm_dp_mst_process_up_req()
4213 * topology manager will process the sideband messages received
4404 * @mgr: MST topology manager for the port
4412 * atomic state is added whenever the state of payloads in the topology changes.
4495 * @mgr: MST topology manager for the port
4504 * topology.
4580 * currently assigned to an MST topology. Drivers must call this hook from their
4624 * touched CRTCs that were/are on an MST topology to be programmed to hardware and flipped to before
4625 * returning. This is to prevent multiple non-blocking commits affecting an MST topology from racing
4627 * the modeset objects in these commits share are an MST topology.
4672 * @mgr: The MST topology manager for the &drm_connector
4675 * serialize non-blocking commits happening on the real DP connector of an MST topology switching
4677 * MST topology will never share the same &drm_encoder.
4680 * state to determine if it is about to have a modeset - and then pulling in the MST topology state
4893 * drm_dp_mst_dump_topology(): dump topology to seq file.
4895 * @mgr: manager to dump current topology for.
4897 * helper to dump MST topology to a seq file for debugfs.
5222 * @mgr: MST topology manager
5228 * @mgr's topology.
5398 * @mgr: MST topology manager
5400 * Whenever there is a change in mst topology
5403 * CRTCs in that topology
5512 * drm_dp_mst_atomic_check_mgr - Check the atomic state of an MST topology manager
5518 * Checks the given MST manager's topology state for an atomic update to ensure
5574 * drm_dp_mst_atomic_check - Check that the new state of an MST topology in an
5578 * Checks the given topology state for an atomic update to ensure that it's
5620 * drm_atomic_get_mst_topology_state: get MST topology state
5622 * @mgr: MST topology manager, also the private object in this case
5626 * topology object.
5629 * The MST topology state or error pointer.
5639 * drm_atomic_get_old_mst_topology_state: get old MST topology state in atomic state, if any
5641 * @mgr: MST topology manager, also the private object in this case
5645 * topology object.
5648 * The old MST topology state, or NULL if there's no topology state for this MST mgr
5663 * drm_atomic_get_new_mst_topology_state: get new MST topology state in atomic state, if any
5665 * @mgr: MST topology manager, also the private object in this case
5669 * topology object.
5672 * The new MST topology state, or NULL if there's no topology state for this MST mgr
5687 * drm_dp_mst_topology_mgr_init - initialise a topology manager
5720 * requeuing will be also flushed when deiniting the topology manager. in drm_dp_mst_topology_mgr_init()
5756 * drm_dp_mst_topology_mgr_destroy() - destroy topology manager.
5992 * A single physical MST hub object can be represented in the topology