You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhancements to initialization code in drm backend (#344)
* Check if drm_crtc is nullptr before attempting to set mode
In native_window_drm, there's no check against null drm_crtc. So if
drm_crtc is null, and SwapBuffers() is called, a Segmentation Fault
will occur. This adds check against it.
Signed-off-by: Yunhao Tian <[email protected]>
* Add logic to initialize drm encoder and crtc
In RK3399 board, when the system just booted up, there's no encoder
attached to connector, and no crtc attached to encoder. In this case
drm backend will fail to get an encoder. This commit adds code to
find suitable encoder and crtc from resources, when absent.
Signed-off-by: Yunhao Tian <[email protected]>
* Add myself to AUTHORS
---------
Signed-off-by: Yunhao Tian <[email protected]>
0 commit comments