7.权限问题
All DRM devices provide authentication mechanisms. Only a DRM master is allowed to perform mode-setting or modify core state and only one user can be DRM master at a time. See drmSetMaster(3) for information on how to become DRM master and what the limitations are. Other DRM users can be authenticated to the DRM-Master via drmAuthMagic(3) so they can perform buffer allocations and rendering.
只有DRM master才能进行DRM设置和图形渲染,同时只能有一个DRM master
通过drmDropMaster和drmSetMaster来切换不同进程为drm主进程。