buffer: Store derived surface id and buffer info for dma-buf export
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
@@ -85,6 +85,9 @@ VAStatus RequestCreateBuffer(VADriverContextP context, VAContextID context_id,
|
||||
buffer_object->data = buffer_data;
|
||||
buffer_object->size = size;
|
||||
|
||||
buffer_object->derived_surface_id = VA_INVALID_ID;
|
||||
buffer_object->info.handle = (uintptr_t) -1;
|
||||
|
||||
*buffer_id = id;
|
||||
|
||||
status = VA_STATUS_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user