Etnaviv NPU Optimizations Make It Into Mesa 24.1
([Mesa] 6 Hours Ago
Etnaviv)
- Reference: 0001459716
- News link: https://www.phoronix.com/news/Etnaviv-NPU-Optimize-Mesa-24.1
- Source link:
In addition to [1]many RadeonSI driver optimizations that were merged just prior to yesterday's [2]code branching and Mesa 24.1-rc1 release , a number of Etnaviv driver improvements were also merged for benefiting that recent Vivante NPU IP open-source driver work.
Merged earlier this cycle for Mesa 24.1 is [3]Teflon as a Gallium3D front-end for TensorFlow Lite and initially used by Etnaviv, the reverse-engineered Vivante graphics driver. The Etnaviv NPU driver support has come together nicely and for some inferencing workloads [4]can be nearly as fast as the proprietary driver .
Tomeu Vizoso who has been leading this NPU effort landed " [5]bunch of fixes and optimizations " that he's been accumulating for the Etnaviv driver.
Among the optimizations are [6]enabling an image cache using the on-chip SRAM that is helping reduce times such as MobileNetV1 dropping from 9.9 ms to 6.2 ms or SSDLite MobileDet from 27 ms to 24.3 ms. Plus a few other Etnaviv improvements as a nice end to the Mesa 24.1 feature work.
[1] https://www.phoronix.com/news/RadeonSI-Whole-Improvements
[2] https://www.phoronix.com/news/Mesa-24.1-rc1-Released
[3] https://www.phoronix.com/news/Gallium3D-Teflon-Merged
[4] https://www.phoronix.com/news/Etnaviv-NPU-Weight-Compress
[5] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28879
[6] https://cgit.freedesktop.org/mesa/mesa/commit/?id=d46e68c89a99588dd7cf2bd15386301ddaf11e89
Merged earlier this cycle for Mesa 24.1 is [3]Teflon as a Gallium3D front-end for TensorFlow Lite and initially used by Etnaviv, the reverse-engineered Vivante graphics driver. The Etnaviv NPU driver support has come together nicely and for some inferencing workloads [4]can be nearly as fast as the proprietary driver .
Tomeu Vizoso who has been leading this NPU effort landed " [5]bunch of fixes and optimizations " that he's been accumulating for the Etnaviv driver.
Among the optimizations are [6]enabling an image cache using the on-chip SRAM that is helping reduce times such as MobileNetV1 dropping from 9.9 ms to 6.2 ms or SSDLite MobileDet from 27 ms to 24.3 ms. Plus a few other Etnaviv improvements as a nice end to the Mesa 24.1 feature work.
[1] https://www.phoronix.com/news/RadeonSI-Whole-Improvements
[2] https://www.phoronix.com/news/Mesa-24.1-rc1-Released
[3] https://www.phoronix.com/news/Gallium3D-Teflon-Merged
[4] https://www.phoronix.com/news/Etnaviv-NPU-Weight-Compress
[5] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28879
[6] https://cgit.freedesktop.org/mesa/mesa/commit/?id=d46e68c89a99588dd7cf2bd15386301ddaf11e89
phoronix