[PATCH] [RFC]drm: add syncobj timeline support v5

zhoucm1 zhoucm1 at amd.com
Wed Sep 19 03:20:06 UTC 2018



On 2018年09月18日 16:32, Christian König wrote:
>>>> +    for (i = 0; i < args->count_handles; i++) {
>>>> +        if (syncobjs[i]->type == DRM_SYNCOBJ_TYPE_TIMELINE) {
>>>> +            DRM_ERROR("timeline syncobj cannot reset!\n");
>>>
>>> Why not? I mean that should still work or do I miss anything?
>> timeline semaphore spec doesn't require reset interface, it says the 
>> timeline value only can be changed by signal operations.
>
> Yeah, but we don't care about the timeline spec in the kernel.
>
> Question is rather if that still makes sense to support that and as 
> far as I can see it should be trivial to reinitialize the object. 
Hi Daniel Rakos,

Could you give a comment on this question? Is it necessary to support 
timeline reset interface?  I only see the timeline value can be changed 
by signal operations in Spec.


Thanks,
David Zhou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180919/1d215d5b/attachment.html>


More information about the amd-gfx mailing list