接前一篇文章:DRM全解析 —— plane详解(1)
本文参考以下博文:
Linux内核4.14版本——drm框架分析(5)——plane分析
特此致谢!
本文继续对DRM中plane的核心结构struct drm_plane的成员进行释义。
3. drm_plane结构释义
(4)struct drm_modeset_lock mutex
/**
* @mutex:
*
* Protects modeset plane state, together with the &drm_crtc.mutex of
* CRTC this plane is linked to (when active, getting activated or
* getting disabled).
*
* For atomic drivers specifically this protects @state.
*/
struct drm_modeset_lock