zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.98k stars 6.69k forks source link

Enabling PXP accelearion for lvgl for i. MXRT1064 #59921

Closed Gigate closed 1 year ago

Gigate commented 1 year ago

Greetings all, Currently it isn't possible to use pxp gpu acceleration for 2D lvgl rendering in ZephyrOS. Pxp acceleration not only is necessary for faster rendering, but also for display rotation, which doesn't seem to be possible (with acceptable performance) without the pxp accel.

Here is some research of files that would be need. But just adding them to a Project isn't enough:

github-actions[bot] commented 1 year ago

Hi @Gigate! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

arfoll commented 1 year ago

@danieldegrasse this is what we discussed in Prague at EOSS :) If we can help or you can point us how to contribute here we'd be open to this.

danieldegrasse commented 1 year ago

Hi @arfoll, I think integrating the PXP into LVGL directly would come later, as there are additional functions the PXP supports (like blending) that LVGL leverages. For the display rotation use case, I will look into exposing the PXP driver using the DMA API to see if it can satisfy your needs there.