29.06.2020 13:27, Mikko Perttunen пишет:
>> We don't need a dedicated sync point FD for all kinds of jobs, don't we?
>> For example, I don't see why a sync point FD may be needed in a case of
>> Opentegra jobs.
> I think it's cleaner if we have just one way to allocate syncpoints, and
> then those syncpoints can be passed to different things depending on the
> situation.
> If we want to protect direct incrementing while a job is submitted, we
> could have a locking API where an ongoing job can take a lock refcount
> in the syncpoint, and incrementing would return -EBUSY.

Okay, let's go with this for now.
dri-devel mailing list

Reply via email to