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

drm: Default to XRGB8888 framebuffer #282

Closed marex closed 1 year ago

marex commented 1 year ago

The ARGB8888 framebuffer format for base canvas makes little sense as the base canvas is unlikely to be transparent and require alpha. Use XRGB8888 framebuffer format which is more widely supported by DRM drivers as base plane pixel format.

This makes e.g. i.MX8M Nano work by default.

kisvegabor commented 1 year ago

Makes sense, thank you!

marex commented 1 year ago

Makes sense, thank you!

@kisvegabor would you mind pulling this patch into release/v8.3 branch as well ?

kisvegabor commented 1 year ago

Sure, I've cherry-pick-ed it here: 8226621

marex commented 1 year ago

Sure, I've cherry-pick-ed it here: 8226621

Thanks