https://www.x.org/wiki/Development/Documentation/HowVideoCardsWork/
======================================================
Drm ioctrl 使用issue 總結:
1. 使用drm_ioctrl() 設定crtc, 發現返回以下信息:
failed to set mode for lcd
errno= Permission denied
這個問題是ioctrl 沒有權限,首先檢查是不是root權限,
如果是root權限,那你的app應該就不是master 權限,也就是說,還有一個使用該drm 設備的App. 你應當關掉這個進程!