feat(drm): add support for GBM buffer object to increase performance (#7464)

This commit is contained in:
Erik Tagirov
2025-01-29 08:16:32 +01:00
committed by GitHub
parent 0f67eb67cf
commit fa305054f4
3 changed files with 246 additions and 12 deletions

View File

@@ -1175,6 +1175,15 @@
/** Driver for /dev/dri/card */
#define LV_USE_LINUX_DRM 0
#if LV_USE_LINUX_DRM
/* Use the MESA GBM library to allocate DMA buffers that can be
* shared across sub-systems and libraries using the Linux DMA-BUF API.
* The GBM library aims to provide a platform independent memory management system
* it supports the major GPU vendors - This option requires linking with libgbm */
#define LV_LINUX_DRM_GBM_BUFFERS 0
#endif
/** Interface for TFT_eSPI */
#define LV_USE_TFT_ESPI 0