2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/dma-buf
Sumit Semwal d8fbe341be dma-buf: cleanup dma_buf_export() to make it easily extensible
At present, dma_buf_export() takes a series of parameters, which
makes it difficult to add any new parameters for exporters, if required.

Make it simpler by moving all these parameters into a struct, and pass
the struct * as parameter to dma_buf_export().

While at it, unite dma_buf_export_named() with dma_buf_export(), and
change all callers accordingly.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2015-04-21 14:47:16 +05:30
..
dma-buf.c dma-buf: cleanup dma_buf_export() to make it easily extensible 2015-04-21 14:47:16 +05:30
fence.c dma-buf/fence: don't wait when specified timeout is zero 2015-01-22 11:28:51 +05:30
Makefile seqno-fence: Hardware dma-buf implementation of fencing (v6) 2014-07-08 12:50:59 -07:00
reservation.c reservation: Remove shadowing local variable 'ret' 2015-01-22 16:29:31 +05:30
seqno-fence.c seqno-fence: Hardware dma-buf implementation of fencing (v6) 2014-07-08 12:50:59 -07:00