diff options
| author | Christian König <[email protected]> | 2017-08-10 13:01:48 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-14 13:00:49 -0400 |
| commit | 7faf952a3030d304334fe527be339b63e9e2745f (patch) | |
| tree | b683adcf0d77b936849899e06e7b6f0054a26faa /include/linux | |
| parent | eac99d4a2013d9e68d12d8a5695b221593d3aa8d (diff) | |
dma-buf: add reservation_object_copy_fences (v2)
Allows us to copy all the fences in a reservation object to another one.
v2: handle NULL src_list
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/reservation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/reservation.h b/include/linux/reservation.h index 156cfd330b66..21fc84d82d41 100644 --- a/include/linux/reservation.h +++ b/include/linux/reservation.h @@ -254,6 +254,9 @@ int reservation_object_get_fences_rcu(struct reservation_object *obj, unsigned *pshared_count, struct dma_fence ***pshared); +int reservation_object_copy_fences(struct reservation_object *dst, + struct reservation_object *src); + long reservation_object_wait_timeout_rcu(struct reservation_object *obj, bool wait_all, bool intr, unsigned long timeout); |