]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9dda0512bfe63b55dac6fcd6038b9becd6cdfea
treeb683adcf0d77b936849899e06e7b6f0054a26faa
parentd7780ddb36db3d0f764bd42c87d9c62f5f0d6dc4
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