[PATCH] dma-buf/fence: fix fence_is_later v2

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Mar 1 08:36:42 UTC 2016


Op 29-02-16 om 23:13 schreef Gustavo Padovan:
> 2016-02-29 Alex Deucher <alexdeucher at gmail.com>:
>
>> From: Christian König <christian.koenig at amd.com>
>>
>> A fence is never later than itself. This caused a bunch of overhead for AMDGPU.
>>
>> v2: simplify check as suggested by Michel.
>>
>> Signed-off-by: Christian König <christian.koenig at amd.com>
>> Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
>> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>> ---
>>  include/linux/fence.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
>
> 	Gustavo
Why is it causing overhead? Not really opposed to the patch though.


More information about the dri-devel mailing list