How to change from gbm(drm) backend to triple buffering?
I want to change the number of buffering in the gbm(drm) backend.
However, the gbm backend seems to be fixed with double buffering.
root@~# cat /sys/kernel/debug/dma_buf/bufinfo
Dma-buf Objects:size flags mode count exp_name ino
05529600 00000000 00000005 00000004 drm 00005855 Exclusive fence: mali mali.timeline signalled Attached Devices: 10100000.gpuTotal 1 devices attached
05529600 00000000 00000005 00000004 drm 00007459 Exclusive fence: mali mali.timeline signalled Attached Devices: 10100000.gpuTotal 1 devices attached
please help.
Hi, I'm guessing this is with Mesa, and wants a Mesa solution? If so, it might be worth raising an issue on the Mesa github. If not we definitely need more information.
(I'm assuming GBM = Generic Buffer Management; DRM = Direct Rendering Manager)
Have you got more information / context about where you are trying to do this? OS etc?
In NXP, the buffering setting can be changed in FB/DRM backend with the FB_MULTI_BUFFER environment variable.I'm looking for the same way in ARM. (linux os)
if you have a Mesa solution, please let me know.
Thanks