Valve started to invest in Linux and open source 10 years before releasing Steam Deck. They started hiring OSS developers back in 2012 and Deck released in 2022:
https://www.phoronix.com/review/valve_linux_dampfnudeln