Nvidia's kernel driver is open source now [1], they just do the important HDMI bits in their closed source GSP firmware. Basically they moved the proprietary stuff to firmware and open sourced the rest. AMD could do something similar, but it would require a hardware change on their side (the GSP was a new bit of hardware added in Turing Nvidia GPUs).