RSS Bot Posted January 28, 2023 Posted January 28, 2023 Description These patches are are needed for panfork "go-faster". Using env PAN_MESA_DEBUG=gofaster we can get better glmark performance. Here are some infos from icecream95 copied on discord: "go-faster" patches for Mesa on RK3588 are almost ready, but need some kernel patches to get the full advantage: https://gitlab.com/panfork/rk3588-implicit-sync That repo has backports of a couple of patches from Linux v6.0, a fix to rockchip-drm, and also a patch to kbase fixing a bug that I hit accidentally… but could probably be used in an exploit. On that note, kbase vulnerabilities are found quite often: https://developer.arm.com/Arm Security Center/Mali GPU Driver Vulnerabilities … but don't expect patched versions to make their way to BSP kernels any time soon I tried using a newer kbase version with the Rockchip kernel… but with all of Rockchip's often broken changes, it's quite a hassle. I guess that is why the "patch gap" exists: https://googleprojectzero.blogspot.com/2022/11/mind-the-gap.html The kernel patches are important for performance as they allow applications to pipeline rendering without the windowing system needing to know about it (only Android has the necessary plumbing to work well without the patches) How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [x] Build rock5b kernel with no error [x] test glmark2-es2-wayland with env PAN_MESA_DEBUG=gofaster Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [x] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts