Glitch free GPU frequency changing