Name

drm_atomic_get_mst_topology_state —

Synopsis

struct drm_dp_mst_topology_state * drm_atomic_get_mst_topology_state (struct drm_atomic_state * state,
 struct drm_dp_mst_topology_mgr * mgr);
 

Arguments

state

global atomic state

mgr

MST topology manager, also the private object in this case

Description

This function wraps drm_atomic_get_priv_obj_state passing in the MST atomic state vtable so that the private object state returned is that of a MST topology object. Also, drm_atomic_get_private_obj_state expects the caller to care of the locking, so warn if don't hold the connection_mutex.

RETURNS

The MST topology state or error pointer.