exynos_drm_dmabuf.h 681 B

123456789101112131415161718192021
  1. /* exynos_drm_dmabuf.h
  2. *
  3. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  4. * Author: Inki Dae <inki.dae@samsung.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. #ifndef _EXYNOS_DRM_DMABUF_H_
  12. #define _EXYNOS_DRM_DMABUF_H_
  13. struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev,
  14. struct drm_gem_object *obj, int flags);
  15. struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,
  16. struct dma_buf *dma_buf);
  17. #endif