dma-buf: add reservation_object_copy_fences (v2)
authorChristian König <christian.koenig@amd.com>
Thu, 10 Aug 2017 17:01:48 +0000 (13:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Aug 2017 17:00:49 +0000 (13:00 -0400)
commit7faf952a3030d304334fe527be339b63e9e2745f
treeb683adcf0d77b936849899e06e7b6f0054a26faa
parenteac99d4a2013d9e68d12d8a5695b221593d3aa8d
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 <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1502384509-10465-2-git-send-email-alexander.deucher@amd.com
drivers/dma-buf/reservation.c
include/linux/reservation.h