24-28 August 2020
US/Pacific timezone

Negotiating DMA-BUF Heaps

27 Aug 2020, 08:00
45m
BOF1/Virtual-Room (LPC 2020)

BOF1/Virtual-Room

LPC 2020

150
Birds of a Feather (BoF) BOFs Session

Speaker

Ezequiel Garcia (Collabora, Ltd.)

Description

With the introduction of DMA-BUF Heaps,
the kernel has introduced a fairly generic API
for applications and drivers to request memory
that can be used for DMA operations.

Currently, two DMA-BUF Heaps backends (system and
CMA) are available and a bunch of others are being
explored and proposed for mainline inclusion.

However, the current design seems to imply applications
know beforehand which heap is suitable for its needs.
While this might play well for system-specific applications,
it doesn't offer a generic solution for generic,
system-agnostic applications.

The goal of this BoF is to discuss what
are the expectations for a DMA-BUF Heap generic negotiation
interface that can be used by in-kernel and applications
consumers.

In addition to this, we'd like to discuss the future
of DMA-BUF heaps, are they meant to be used by current allocators,
such as GEM/TTM and Videobuf2?

I agree to abide by the anti-harassment policy I agree

Primary author

Ezequiel Garcia (Collabora, Ltd.)

Presentation Materials