Skip to content
Commit 0e21cdf8 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
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 ff654b9a
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