4 ms·
I find it amusing that René is known for two hacks: - enabling RDNA2-based Radeon GPU cards to work. The hack: saving and restoring FPU state in the kernel so
by brucehoult 3y ago
I find it amusing that René is known for two hacks:
- enabling RDNA2-based Radeon GPU cards to work. The hack: saving and restoring FPU state in the kernel so that the kernel (more precisely: the GPU driver) can use floating point instructions.
- enabling the use of RVV instructions on a standard Linux distro. The hack: primarily saving and restoring the Vector state in the kernel.
It's essentially the same hack.
I note also that the OS images recommended by the SBC vendors already have the Vector extension enabled e.g. the OS preinstalled on the Lichee Pi 4A, or Tina for the Nezha (and other D1 boards).
The patches to do so are readily available. It's no big trick to apply them to upstream kernel sources, the problem is getting the result of doing so upstreamed.