Re: [ANN] Request for Topics and registration for a Media Summit September 16th

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Wed, 12 Jun 2024 11:34:30 +0300
Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> escreveu:

> Focussing on this topic, if we're brainstorming memory management for
> media devices, I'd like to throw in a controversial idea. In addition to
> being clearer on the fact that USERPTR is deprecated, I would like to
> deprecate MMAP too and only focus on DMABUF. I believe Linux needs a
> centralized buffer allocator, instead of having multiple allocation APIs
> scattered in different places. There are design ideas in gralloc that we
> could benefit from.

Deprecating USERPTR is doable, as not many apps use it, and they're
mostly focused on complex camera/ARM scenario. Now, deprecating MMAP at 
V4L2 core is a different history: lots of different userspace programs,
including browsers and proprietary apps like zoom, etc. rely on MMAP
support. We can only consider deprecating MMAP once applications switch 
to DMABUF.

Thanks,
Mauro




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux