Well ok, sounds like that one was a little too much of a proof-of-concept. If you really just want to set a static fan speed, put this in a shell script. It will set all AMD gpus it can find to roughly 80% fan speed. Need to be run as root. Change 204 to something else for a different speed.
Thank you! It works well.