Lines Matching full:export
29 #include <linux/export.h>
54 * Drivers that support the PRIME API implement the drm_gem_object_funcs.export
62 * On the export the &dma_buf holds a reference to the exported buffer object,
64 * IOCTL, when it first calls &drm_gem_object_funcs.export
73 * are the lookup caches for import and export. These are required to guarantee
77 * than once. These import and export caches in &drm_prime_file_private only
231 * drm_gem_dmabuf_export - &dma_buf export implementation for GEM
233 * @exp_info: the export information used by dma_buf_export()
274 /* drop the reference on the export fd holds */ in drm_gem_dmabuf_release()
390 if (obj->funcs && obj->funcs->export) in export_and_register_object()
391 dmabuf = obj->funcs->export(obj, flags); in export_and_register_object()
402 * Note that callers do not need to clean up the export cache in export_and_register_object()
413 * drm_gem_prime_handle_to_dmabuf - PRIME export function for GEM drivers
414 * @dev: dev to export the buffer from
416 * @handle: buffer handle to export
419 * This is the PRIME export function which must be used mandatorily by GEM
422 * &drm_gem_object_funcs.export callback.
456 /* re-export the original imported object */ in drm_gem_prime_handle_to_dmabuf()
501 * drm_gem_prime_handle_to_fd - PRIME export function for GEM drivers
502 * @dev: dev to export the buffer from
504 * @handle: buffer handle to export
508 * This is the PRIME export function which must be used mandatorily by GEM
511 * &drm_gem_object_funcs.export callback.
557 * Drivers can implement &drm_gem_object_funcs.export and
576 * Note that these export helpers can only be used if the underlying backing
588 * Note that similarly to the export helpers this permanently pins the
894 * drm_gem_prime_export - helper library implementation of the export callback
895 * @obj: GEM object to export
898 * This is the implementation of the &drm_gem_object_funcs.export functions for GEM drivers