On 9/9/20 2:36 AM, Dmitry Osipenko wrote:
05.09.2020 13:34, Mikko Perttunen пишет:
Hi all,
here's a second revision of the Host1x/TegraDRM UAPI proposal,
hopefully with most issues from v1 resolved, and also with
an implementation. There are still open issues with the
implementation:
Could you please clarify the current status of the DMA heaps. Are we
still going to use DMA heaps?
Sorry, should have mentioned the status in the cover letter. I sent an
email to dri-devel about how DMA heaps should be used -- I believe the
conclusion was that it's not entirely clear, but dma-bufs should only be
used for buffers shared between engines. So for the time being, we
should still implement GEM for intra-TegraDRM buffers. There seems to be
some planning ongoing to see if the different subsystem allocators can
be unified (see dma-buf heaps talk from linux plumbers conference), but
for now we should go for GEM.
Mikko