OpenCloudOS-Kernel/drivers/gpu/drm/udl
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
..
Kconfig drm: merge drm_usb into udl 2014-09-10 17:43:27 +10:00
Makefile drm/udl: add support to export a handle to a FD on UDL. 2014-11-20 11:41:37 +10:00
udl_connector.c drm: merge drm_usb into udl 2014-09-10 17:43:27 +10:00
udl_dmabuf.c dma-buf: cleanup dma_buf_export() to make it easily extensible 2015-04-21 14:47:16 +05:30
udl_drv.c drm/udl: add support to export a handle to a FD on UDL. 2014-11-20 11:41:37 +10:00
udl_drv.h drm/udl: handle page mapping in dmabuf export. 2014-11-26 10:03:00 +10:00
udl_encoder.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
udl_fb.c drm/fb-helper: Propagate errors from initial config failure 2015-01-21 14:57:03 +01:00
udl_gem.c drm/udl: handle page mapping in dmabuf export. 2014-11-26 10:03:00 +10:00
udl_main.c drm: merge drm_usb into udl 2014-09-10 17:43:27 +10:00
udl_modeset.c drm/udl: properly set active_16 flag in udl_crtc_page_flip(). (v2) 2015-01-31 10:12:23 +10:00
udl_transfer.c drm/udl: optimize udl_compress_hline16 (v2) 2015-01-31 10:08:47 +10:00