I have AMD in my desktop and my laptop and it has been pretty good under Linux (I use Fedora) the past year or two. AMD definitely was late to the game, and I still don't think they care
as much as they should, but they are definitely working on it. I've been easily running GPU accelerated Ollama on my desktop and laptop through ROCm.
AMD is definitely not perfect but I don't think it's fair to say they decided not to invest in software. Better late than never, and I'm hoping AMD learned their lesson.