OpenCloudOS-Kernel/drivers/gpu/drm/ttm
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
..
Makefile drm/ttm: Enable the dma page pool also for intel IOMMUs 2013-11-06 03:55:52 -08:00
ttm_agp_backend.c drm/ttm: Fix memory leak in ttm_agp_backend.c 2014-02-18 14:03:32 +01:00
ttm_bo.c drm/ttm: device address space != CPU address space 2015-03-05 09:04:39 +10:00
ttm_bo_manager.c drm/ttm: Use only DRM_MM_SEARCH_BELOW for TTM_PL_FLAG_TOPDOWN 2014-11-12 11:56:33 -05:00
ttm_bo_util.c drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED 2014-09-23 15:00:26 +10:00
ttm_bo_vm.c drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED 2014-09-23 15:00:26 +10:00
ttm_execbuf_util.c drm/ttm: optionally move duplicates to a separate list 2014-12-03 18:26:52 -05:00
ttm_lock.c drivers: gpu: Remove unused function in ttm_lock.c 2014-01-08 13:24:14 +01:00
ttm_memory.c drm/ttm: make sure format string cannot leak in 2014-09-17 11:15:01 +10:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c dma-buf: cleanup dma_buf_export() to make it easily extensible 2015-04-21 14:47:16 +05:30
ttm_page_alloc.c drm/ttm: Avoid memory allocation from shrinker functions. 2014-11-20 11:31:56 +10:00
ttm_page_alloc_dma.c drm/ttm: Avoid memory allocation from shrinker functions. 2014-11-20 11:31:56 +10:00
ttm_tt.c drm/ttm: expose CPU address of DMA-allocated pages 2014-08-10 01:08:03 +10:00