buffer: Add Acquire/ReleaseBufferHandle support for dma-buf export

This is the first version of dma-buf export, that does not support
specifying a DRM modifier.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-07-18 14:50:08 +02:00
parent 7a72782612
commit 019a0ccb42
3 changed files with 81 additions and 1 deletions
+5
View File
@@ -62,5 +62,10 @@ VAStatus RequestBufferSetNumElements(VADriverContextP context,
VAStatus RequestBufferInfo(VADriverContextP context, VABufferID buffer_id,
VABufferType *type, unsigned int *size,
unsigned int *count);
VAStatus RequestAcquireBufferHandle(VADriverContextP context,
VABufferID buffer_id,
VABufferInfo *buffer_info);
VAStatus RequestReleaseBufferHandle(VADriverContextP context,
VABufferID buffer_id);
#endif