[Bug 733952] videopool: allocate page-aligned buffers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 30 06:27:08 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733952
  GStreamer | gst-plugins-base | git

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #1 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-30 13:27:06 UTC ---
Memory alignment requirement shall be negotiated and this is already supported.
The element that will receive the buffer simply propose an allocator and params
that set the alignment, upstream will use it if possible. That element will
need to check if alignment was respected in order to decide if a copy is needed
or not.

USERPTR in most context isn't as simple as having page-aligned buffers though.
As of today, most GPU runs without iommus, hence requires contiguous memory
(added to some alignment requirement) and some even go further with only using
memory from a specific reserved bank.

I think this bug is invalid, correct me if I'm wrong.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list