[PATCH 1/2] reservation: wait only with non-zero timeout specified (v3)

Alex Deucher alexdeucher at gmail.com
Wed Jan 21 08:16:13 PST 2015


On Wed, Jan 21, 2015 at 5:31 AM, Maarten Lankhorst
<maarten.lankhorst at canonical.com> wrote:
> Op 21-01-15 om 11:35 schreef Jammy Zhou:
>> When the timeout value passed to reservation_object_wait_timeout_rcu
>> is zero, no wait should be done if the fences are not signaled.
>>
>> Return '1' for idle and '0' for busy if the specified timeout is '0'
>> to keep consistent with the case of non-zero timeout.
>>
>> v2: call fence_put if not signaled in the case of timeout==0
>>
>> v3: switch to reservation_object_test_signaled_rcu
>>
>> Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
>> Reviewed-by: Christian König <christian.koenig at amd.com>
>> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
>>
> Reviewed-By: Maarten Lankhorst <maarten.lankhorst at canonical.com>

Dave, Maarten,

Do you want to pick these up, or would you rather I pulled them through my tree?

Thanks,

Alex


More information about the dri-devel mailing list