Reverse-Engineered Vivante Driver Brings Improved Performance & Fixes For Linux 6.11
([Hardware] 5 Hours Ago
Etnaviv Driver)
- Reference: 0001474435
- News link: https://www.phoronix.com/news/Etnaviv-Driver-Linux-6.11
- Source link:
The Etnaviv kernel graphics driver that provides reverse-engineered open-source support for Vivante graphics (and NPU) IP has seen a fresh round of patches ready to go for queuing in DRM-Next ahead of the [1]Linux 6.11 cycle kicking off in mid-July.
Of the handful of patches for the Etnaviv Direct Rendering Manager (DRM) driver this cycle is one ot keep TS enabled on MMUv2 cores to yield better performance. The change is to not disable the Tile Status (TS) engine on MMUv2 cores when moving the linear window. The [2]patch explains:
"On MMUv2 cores the linear window is only relevant when starting the FE, before the MMU has been activated. Once the MMU is active, all accesses are translated with no way to bypass the MMU via the linear window. Thus TS ignoring the linear window offset is not an issue on cores with MMUv2 present and there is no need to disable TS when we need to move the linear window."
This change should help with improving performance for hardware having newer Vivante graphics IP with MMUv2 cores.
Other Etnaviv work for Linux 6.11 includes fixing NPU clock gating with the NXP i.MX8MP that is also important for performance. There is also a workaround for FE register CDC issues with some Vivante cores, fixing job timeout handling, fixing DMA sync handling, and other fixes.
The full list of Etnaviv driver patches for Linux 6.11 can be found via [3]this pull request .
[1] https://www.phoronix.com/search/Linux+6.11
[2] https://git.pengutronix.de/cgit/lst/linux/commit/?h=etnaviv/next&id=a233df7f6c8abd532748312631b0a0530d3079a7
[3] https://lore.kernel.org/dri-devel/e8b91e2f18e6eaa722569dd21f559009064b1730.camel@pengutronix.de/T/#u
Of the handful of patches for the Etnaviv Direct Rendering Manager (DRM) driver this cycle is one ot keep TS enabled on MMUv2 cores to yield better performance. The change is to not disable the Tile Status (TS) engine on MMUv2 cores when moving the linear window. The [2]patch explains:
"On MMUv2 cores the linear window is only relevant when starting the FE, before the MMU has been activated. Once the MMU is active, all accesses are translated with no way to bypass the MMU via the linear window. Thus TS ignoring the linear window offset is not an issue on cores with MMUv2 present and there is no need to disable TS when we need to move the linear window."
This change should help with improving performance for hardware having newer Vivante graphics IP with MMUv2 cores.
Other Etnaviv work for Linux 6.11 includes fixing NPU clock gating with the NXP i.MX8MP that is also important for performance. There is also a workaround for FE register CDC issues with some Vivante cores, fixing job timeout handling, fixing DMA sync handling, and other fixes.
The full list of Etnaviv driver patches for Linux 6.11 can be found via [3]this pull request .
[1] https://www.phoronix.com/search/Linux+6.11
[2] https://git.pengutronix.de/cgit/lst/linux/commit/?h=etnaviv/next&id=a233df7f6c8abd532748312631b0a0530d3079a7
[3] https://lore.kernel.org/dri-devel/e8b91e2f18e6eaa722569dd21f559009064b1730.camel@pengutronix.de/T/#u
phoronix