diff options
author | Dave Airlie <airlied@redhat.com> | 2012-07-16 02:51:37 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-19 13:05:57 +1000 |
commit | 13c06cde4e9a4ce275c6cbf477d211344f468dbf (patch) | |
tree | 58263bc8adc578fd76125b4b0c42952dd0b7f173 /nouveau/nouveau.h | |
parent | cc0a14575d9fd0aafe73cb4aa445eaf024436114 (diff) |
libdrm/nouveau: add prime handle->bo and bo->handle support.
This adds prime support to nouveau libdrm.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'nouveau/nouveau.h')
-rw-r--r-- | nouveau/nouveau.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |