On Friday, January 29th, 2021 at 3:13 PM, Pekka Paalanen ppaalanen@gmail.com wrote:
Re-importing it adds quite a huge CPU overhead to both userspace as well as the kernel.
Perhaps, but so far it seems no-one has noticed the overhead, with Mesa at least.
I happily stand corrected.
Note, all of this doesn't mean that compositors will stop keeping DMA-BUF FDs around. They may want to keep them open for other purposes like importing them into KMS or other EGL displays as needed.