Re: [Nouveau] [PATCH v2 16/22] volt: don't require perfect fit

2016-03-28 Thread Martin Peres
On 21/03/16 18:16, Karol Herbst wrote: if we calculate the voltage in the table right, we get all kinds of values, which never fit the hardware steps, so we use the closest higher value the hardware can do This is indeed the goal. Signed-off-by: Karol Herbst ---

[Nouveau] [PATCH v2 16/22] volt: don't require perfect fit

2016-03-21 Thread Karol Herbst
if we calculate the voltage in the table right, we get all kinds of values, which never fit the hardware steps, so we use the closest higher value the hardware can do Signed-off-by: Karol Herbst --- drm/nouveau/nvkm/subdev/volt/base.c | 25 ++--- 1