diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index 0c86d755cad9..a6f60d529b8c 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -104,5 +104,6 @@ int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages, struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages); void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg); +int drm_gem_dmabuf_get_uuid(struct dma_buf *dma_buf, uuid_t *uuid); #endif /* __DRM_PRIME_H__ */ diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index 5087b24c25c6..dfdcff935fe1 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h @@ -549,6 +549,7 @@ int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *, void *dma_buf_vmap(struct dma_buf *); void dma_buf_vunmap(struct dma_buf *, void *vaddr); int dma_buf_get_flags(struct dma_buf *dmabuf, unsigned long *flags); +int dma_buf_get_uuid(struct dma_buf *dmabuf, uuid_t *uuid); /** * dma_buf_set_destructor - set the dma-buf's destructor @@ -563,4 +564,5 @@ static inline void dma_buf_set_destructor(struct dma_buf *dmabuf, dmabuf->dtor = dtor; dmabuf->dtor_data = dtor_data; } + #endif /* __DMA_BUF_H__ */