I believe that NVDec is similar to the MSDEC engines (BSP, VP, and
PPP) on Kepler GPUs. You can see the details of the various bits being
submitted here:
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nouveau_vp3_video.h
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c
and some related code. I haven't investigated the precise details of
NVDec yet, but rumors suggest it should be similar, even though it's a
single engine now rather than many. You'll have to do some sniffing.
Cheers,
-ilia
On Tue, Jul 9, 2019 at 4:36 PM Fernando Sahmkow <fsahmkow27 at gmail.com>
wrote:>
> So now I'm to looking to implement NVDec and as far as I know the game
submits a series of commands to the service. This commands are processed by
Falcon and then it does its magic. Do you guys got any RE on Falcon commands and
how they execute different workloads ?
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau