Re: [Nouveau] [PATCH 3/9] clk: Make pstate a pointer to nvkm_pstate

2017-03-06 Thread Martin Peres
On 05/03/17 18:35, Karol Herbst wrote: We will access the current set cstate at least every second and this safes Either "the current ctstate" or "the currently-set cstate", but not a mix of both :D I prefer the first. safes -> saves. us some CPU cycles looking them up every second.

[Nouveau] [PATCH 3/9] clk: Make pstate a pointer to nvkm_pstate

2017-03-05 Thread Karol Herbst
We will access the current set cstate at least every second and this safes us some CPU cycles looking them up every second. Signed-off-by: Karol Herbst Reviewed-by: Martin Peres --- drm/nouveau/include/nvkm/subdev/clk.h | 4 +++-