Open-source developer Andy Nguyen recently demonstrated porting Linux to the Sony PlayStation 5. The PS5 notably uses a custom AMD SoC and with some patches is able to play nicely with the open-source AMD graphics driver stack.
Beyond just demonstrating an experimental Linux port for the Sony PlayStation 5, Andy Nguyen has followed through and begun upstreaming some of the patches where relevant. Recently there have been AMDGPU kernel graphics driver and Mesa patches for dealing with the Sony PlayStation 5 GPU that is a combination of IP from different generations and on the CPU side is Zen 2 derived.
Merged yesterday for Mesa 26.1-devel was this patch adding more GFX1013 GPUs to the AMD ADDRLIB library. While not explicitly laid out in that Mesa merge request, the new GFX1013 addition encompasses the Sony PS5 GPU.
Sent out on Sunday was this patch for the AMDGPU kernel graphics driver adding the 0x13da Cyan Skillfish GPU to the kernel driver. Again, not explicitly advertised as such in the patch, but this is for the Sony PS5 GPU. That patch has yet to be picked up by any of the AMDGPU driver development branches.
Also sent out was a fix to the AMDGPU driver’s Display Core “DC” code. This fix by Andy Nguyen is for addressing a display issue observed with the Sony PS5 Linux port. That patch has already been picked up and will be mainlined to the Linux kernel.
Those wanting to learn more about this Linux port to the Sony PlayStation 5 can do so via this X thread, complete with a video demonstration.
