RE: Re: [PATCH 1/9] trinity: Add base driver

From: MyungJoo Ham
Date: Wed Jul 27 2022 - 22:05:54 EST


>
> > + help
> > + Select this option to enable driver support for Samsung
> > + Neural Processing Unit (NPU).
> > +
> > + This driver works as a base driver of the other drivers
> > + for Trinity device family.
> > +
> > + This option should be enabled to support Trinity
> > + Vision 2 (TRIV2), and Trinity Audio (TRIA).
> > +
> > +config TRINITY_VISION2
> > + tristate "Samsung NPU Trinity Vision 2"
>
> What happened to "vision 1"?

It's designed before Vision 1, but its products are still not yet
released. The two have different target neural networks.

>
> > + depends on TRINITY
> > + default n
> > + help
> > + Select this option to enable driver support for a Samsung
> > + Neural Processing Unit (NPU), Tinity Vision 2.
> > +
> > + This driver enables userspace system library to access the
> > + device via /dev/triv2-N.
>
> What is the module name?
>
> Where is the userspace library code that talks to this? Any
> documentation for this interface anywhere?
>

I believe Jiho will provide documents soon; however, the userspace
library code is at
https://git.tizen.org/cgit/platform/adaptation/npu/trix-engine/
, which is shipped with 2022 TVs.

Cheers,
MyungJoo