Re: [virtio-dev] Memory sharing device

From
Gerd Hoffmann <>
Date
2019-02-19T07:18:05+00:00
ID
Thread
Re: [virtio-dev] Memory sharing device
On Tue, Feb 12, 2019 at 08:17:13AM -0800, Frank Yang wrote:
> In implementing a complete graphics system, shared memory objects may
> transcend device boundaries.
> 
> Consider for example, Android and gralloc. The media codec versus the GPU
> rendering are commonly considered as separate devices, but they work better
> if operating on a common shared memory type (gralloc buffers).

Linux has dma-bufs for that (driver-api/dma-buf.rst).

cheers,
  Gerd