[Intel-gfx] [PATCH 1/4] dma-buf: add reservation_object_fences helper

2019-08-09 Thread Christian König
Add a new helper to get a consistent set of pointers from the reservation object. While at it group all access helpers together in the header file. v2: correctly return shared_count as well Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 31 ++--- drivers/dma-buf/reserva

Re: [Intel-gfx] [PATCH 1/4] dma-buf: add reservation_object_fences helper

2019-08-07 Thread Chris Wilson
Quoting Christian König (2019-08-07 14:53:09) > Add a new helper to get a consistent set of pointers from the reservation > object. While at it group all access helpers together in the header file. > > v2: correctly return shared_count as well > > Signed-off-by: Christian König Reviewed-by: Chri