diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index d89311b822d5..d920bc494d17 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -106,5 +106,6 @@ void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg); int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages, dma_addr_t *addrs, int max_pages); +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 c8768297d89a..feaf72ce2592 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h @@ -516,4 +516,6 @@ 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); + #endif /* __DMA_BUF_H__ */