diff options
author | Russell King <rmk@arm.linux.org.uk> | 2015-06-10 20:43:53 +0100 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2015-07-31 17:50:24 +0100 |
commit | 00e9d6123d6fc48c7a5b510e95ade215c5b9bd72 (patch) | |
tree | 69e84f75794f5f0e5949a4b85840c4d803eeebf3 /armada_bufmgr.h | |
parent | 07d788ea1e7787c07ab5d3a4ac1c873e409bd50b (diff) |
Add prime import
Add DRM prime import support to the armada-drm buffer manager. This
allows dma_bufs to be imported into armada-drm for display.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'armada_bufmgr.h')
-rw-r--r-- | armada_bufmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/armada_bufmgr.h b/armada_bufmgr.h index f4772fd..fb1dcca 100644 --- a/armada_bufmgr.h +++ b/armada_bufmgr.h @@ -40,6 +40,8 @@ int drm_armada_bo_flink(struct drm_armada_bo *bo, uint32_t *name); /* Create a dmabuf fd for the BO */ int drm_armada_bo_to_fd(struct drm_armada_bo *bo, int *fd); +struct drm_armada_bo *drm_armada_bo_from_fd(struct drm_armada_bufmgr *mgr, + int prime_fd); int drm_armada_bo_map(struct drm_armada_bo *bo); void drm_armada_bo_get(struct drm_armada_bo *bo); |