gpu: Made more careful calculation on dvfs.