[RFC] Host1x/TegraDRM UAPI (sync points)

Dmitry Osipenko digetx at gmail.com
Mon Jun 29 19:28:45 UTC 2020


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.


More information about the dri-devel mailing list