ANDROID: Add C protos for dma_buf/drm_prime get_uuid
Fixes I0599ce4cafee3dc705805c1ad97295bea264cfdf and Ifb429e36ebbba9feead6fd1792fbefa9ca097f0c. Bug: 153580313 Change-Id: Ia070392e45e8325dec53b51300d987b3f23f0920 Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
@@ -104,5 +104,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,
|
int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages,
|
||||||
dma_addr_t *addrs, int max_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__ */
|
#endif /* __DRM_PRIME_H__ */
|
||||||
|
@@ -589,4 +589,6 @@ int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
|
|||||||
void *dma_buf_vmap(struct dma_buf *);
|
void *dma_buf_vmap(struct dma_buf *);
|
||||||
void dma_buf_vunmap(struct dma_buf *, void *vaddr);
|
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_flags(struct dma_buf *dmabuf, unsigned long *flags);
|
||||||
|
int dma_buf_get_uuid(struct dma_buf *dmabuf, uuid_t *uuid);
|
||||||
|
|
||||||
#endif /* __DMA_BUF_H__ */
|
#endif /* __DMA_BUF_H__ */
|
||||||
|
Reference in New Issue
Block a user