From 13c06cde4e9a4ce275c6cbf477d211344f468dbf Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 16 Jul 2012 02:51:37 +0100 Subject: libdrm/nouveau: add prime handle->bo and bo->handle support. This adds prime support to nouveau libdrm. Signed-off-by: Dave Airlie --- nouveau/nouveau.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nouveau/nouveau.h') diff --git a/nouveau/nouveau.h b/nouveau/nouveau.h index 51a95981..c42eea7a 100644 --- a/nouveau/nouveau.h +++ b/nouveau/nouveau.h @@ -135,6 +135,9 @@ int nouveau_bo_map(struct nouveau_bo *, uint32_t access, struct nouveau_client *); int nouveau_bo_wait(struct nouveau_bo *, uint32_t access, struct nouveau_client *); +int nouveau_bo_prime_handle_ref(struct nouveau_device *dev, int prime_fd, + struct nouveau_bo **); +int nouveau_bo_set_prime(struct nouveau_bo *bo, int *prime_fd); struct nouveau_bufref { struct nouveau_list thead; -- cgit v1.2.3