]> asedeno.scripts.mit.edu Git - linux.git/commit
dma-buf: try to replace a signaled fence in reservation_object_add_shared_inplace
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Tue, 14 Nov 2017 14:24:36 +0000 (15:24 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Nov 2017 17:01:45 +0000 (12:01 -0500)
commitca25fe5efe4ab43cc5b4f3117a205c281805a5ca
tree24704a4e51cce83c7d0e97dd7ab13f64a4dbcc6c
parent4d9c62e8ce69d0b0a834282a34bff5ce8eeacb1d
dma-buf: try to replace a signaled fence in reservation_object_add_shared_inplace

The amdgpu issue to also need signaled fences in the reservation objects should
be fixed by now.

Optimize the handling by replacing a signaled fence when adding a new
shared one.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171114142436.1360-2-christian.koenig@amd.com
drivers/dma-buf/reservation.c