Patches for the PS4 required drivers: Mesa, libdrm, and xf86-amdgpu.
I will try to keep this up-to-date to be able to compile the newest drivers possible for the PS4. Newer libdrm than 2.4.124 won't work on Baikal, as their highest kernel version is currently 5.4.x.
Forked from FalsePhilosopher's repo, that can be found here.
Thanks mircoho for telling me how to patch Mesa for 25.2 and higher.