接前一篇文章:DRM全解析 —— connector详解(1)
本文继续对DRM中connector的核心结构struct drm_connector的成员进行释义。
3. drm_connector结构释义
(9)struct mutex mutex
/**
* @mutex: Lock for general connector state, but currently only protects
* @registered. Most of the connector state is still protected by
* &drm_mode_config.mutex.
*/
struct mutex mutex;
锁定常规connector的状态,但当前仅保护@registered。绝大部分conector状态仍受&drm_mode_config.mutex保护。
(10)unsigned index
/**
* @index: Compacted connector index, which matches the position inside
* the