diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-12 17:31:12 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-14 11:04:56 +1000 |
commit | 3163cfe4db925429760407e77140e2d595338bc2 (patch) | |
tree | f05618435c3f002320fe97a0b0ad5f8839ed5199 /radeon/radeon_bo_gem.h | |
parent | a9412fa9de219e38df361852a12df37688c891db (diff) |
radeon: add prime import/export support
this adds radeon version of the prime import/export support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'radeon/radeon_bo_gem.h')
-rw-r--r-- | radeon/radeon_bo_gem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/radeon/radeon_bo_gem.h b/radeon/radeon_bo_gem.h index 0af8610b..08965f3a 100644 --- a/radeon/radeon_bo_gem.h +++ b/radeon/radeon_bo_gem.h @@ -41,4 +41,8 @@ uint32_t radeon_gem_name_bo(struct radeon_bo *bo); void *radeon_gem_get_reloc_in_cs(struct radeon_bo *bo); int radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain); int radeon_gem_get_kernel_name(struct radeon_bo *bo, uint32_t *name); +int radeon_gem_prime_share_bo(struct radeon_bo *bo, int *handle); +struct radeon_bo *radeon_gem_bo_open_prime(struct radeon_bo_manager *bom, + int fd_handle, + uint32_t size); #endif |