Quoting Tvrtko Ursulin (2017-09-29 13:39:36) > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > v2: Update for i915 changes. > > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > --- > @@ -176,8 +176,8 @@ int gpu_freq_update(struct gpu_freq *gf) > return EAGAIN; > } > > - gf->current = (s->act - d->act) / d_time; > - gf->request = (s->req - d->req) / d_time; > + gf->current = (s->act - d->act) * 1000000000 / d_time; > + gf->request = (s->req - d->req) * 1000000000 / d_time; 1e9 please. (And 1e-6 later) Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx