Re: [Nouveau] [PATCH 5/9] clk: We should pass the pstate id around not the index in the list

2017-03-06 Thread Martin Peres
On 05/03/17 18:35, Karol Herbst wrote: This makes the code easier, because we can compare the id with pstate->pstate and safe us the trouble iterating over the entire pstate saves us from the trouble of iterating over the pstates. list to match the index. Signed-off-by: Karol Herbst

[Nouveau] [PATCH 5/9] clk: We should pass the pstate id around not the index in the list

2017-03-05 Thread Karol Herbst
This makes the code easier, because we can compare the id with pstate->pstate and safe us the trouble iterating over the entire pstate list to match the index. Signed-off-by: Karol Herbst Reviewed-by: Martin Peres --- drm/nouveau/nouveau_debugfs.c