Skip to content
Commit be6c869d authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

media: videobuf2: Allow exporting of a struct dmabuf



videobuf2 only allowed exporting a dmabuf as a file descriptor,
but there are instances where having the struct dma_buf is
useful within the kernel.

Split the current implementation into two, one step which
exports a struct dma_buf, and the second which converts that
into an fd.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent b77b6835
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment