someone hacked amdgpu to get an amd rx580 gpu working on rk3588, quite exciting https://github.com/mariobalanica/arm-pcie-gpu-patches
correction: amdgpu is not touched at all, the changes are to linux ttm allocator, pci bits and there's some version of ampere's instruction level altra pcie fixup involved