lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
290 stars 309 forks source link

fix(drm): backport drm driver fixes from lvgl 9 #298

Closed niklasf closed 8 months ago

niklasf commented 8 months ago

Applied fixes/improvements from:

Remains backwards compatible, but replacing drm_init() with drm_disp_drv_init() is required for optimal performance.

niklasf commented 8 months ago

I just noticed that the wait_cb that we can register in LVGL 8 appears to be pretty much exactly what we want to (re)introduce to LVGL 9. So double buffered direct rendering should be possible here, too. I'll make a follow-up pull request for that.

kisvegabor commented 8 months ago

I just noticed that the wait_cb that we can register in LVGL 8 appears to be pretty much exactly what we want to (re)introduce to LVGL 9.

Ahh, good idea! I'm thinking about it.