search for: target_uv

Displaying 8 results from an estimated 8 matches for "target_uv".

Did you mean: target_cur
2014 Nov 28
0
[PATCH 2/2] volt: add support for GK20A
...uot;, volt->vid[vid].uv); + return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000); +} + +static int +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition) +{ + struct gk20a_volt_priv *priv = (void *)volt; + int prev_uv = regulator_get_voltage(priv->vdd); + int target_uv = volt->vid[id].uv; + int ret; + + nv_debug(volt, "prev=%d, target=%d, condition=%d\n", + prev_uv, target_uv, condition); + if (!condition || + (condition < 0 && target_uv < prev_uv) || + (condition > 0 && target_uv > prev_uv)) { + ret = gk20a_volt_vid_...
2014 Nov 28
0
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
...uot;, volt->vid[vid].uv); + return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000); +} + +static int +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition) +{ + struct gk20a_volt_priv *priv = (void *)volt; + int prev_uv = regulator_get_voltage(priv->vdd); + int target_uv = volt->vid[id].uv; + int ret; + + nv_debug(volt, "prev=%d, target=%d, condition=%d\n", + prev_uv, target_uv, condition); + if (!condition || + (condition < 0 && target_uv < prev_uv) || + (condition > 0 && target_uv > prev_uv)) { + ret = gk20a_volt_vid_...
2014 Nov 28
2
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
...gulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000); > +} > + > +static int > +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition) > +{ > + struct gk20a_volt_priv *priv = (void *)volt; > + int prev_uv = regulator_get_voltage(priv->vdd); > + int target_uv = volt->vid[id].uv; > + int ret; > + > + nv_debug(volt, "prev=%d, target=%d, condition=%d\n", > + prev_uv, target_uv, condition); > + if (!condition || > + (condition < 0 && target_uv < prev_uv) || > + (condition > 0 && target_uv > p...
2014 Nov 28
8
[RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use
Some Tegra drivers might be complied as kernel modules, and they need the fuse information for initialization. One example is the GK20A Nouveau driver. It needs the GPU speedo value to calculate frequency-voltage table. So export the tegra_sku_info. Signed-off-by: Vince Hsu <vinceh at nvidia.com> --- v2: add more description why we need this patch drivers/soc/tegra/fuse/fuse-tegra.c | 1
2014 Nov 28
0
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
....uv, >> 1200000); >> +} >> + >> +static int >> +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition) >> +{ >> + struct gk20a_volt_priv *priv = (void *)volt; >> + int prev_uv = regulator_get_voltage(priv->vdd); >> + int target_uv = volt->vid[id].uv; >> + int ret; >> + >> + nv_debug(volt, "prev=%d, target=%d, condition=%d\n", >> + prev_uv, target_uv, condition); >> + if (!condition || >> + (condition < 0 && target_uv < prev_uv) || >&...
2014 Nov 28
2
[PATCH 1/2] volt: allow non-bios voltage scaling
Signed-off-by: Vince Hsu <vinceh at nvidia.com> --- nvkm/subdev/volt/base.c | 67 ++++++++++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 29 deletions(-) diff --git a/nvkm/subdev/volt/base.c b/nvkm/subdev/volt/base.c index 32794a999106..26ccd8df193f 100644 --- a/nvkm/subdev/volt/base.c +++ b/nvkm/subdev/volt/base.c @@ -101,6 +101,41 @@ nouveau_volt_set_id(struct
2014 Dec 01
2
[V3 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info
Some Tegra drivers might be compiled as kernel modules, and they need the fuse information for initialization. One example is the GK20A Nouveau driver. It needs the GPU speedo value to calculate frequency-voltage table. So export the tegra_sku_info. Signed-off-by: Vince Hsu <vinceh at nvidia.com> Acked-by: Alexandre Courbot <acourbot at nvidia.com> Acked-by: Thierry Reding <treding
2014 Dec 02
3
[V3 PATCH 1/4] soc/tegra: fuse: export tegra_sku_info
Some Tegra drivers might be compiled as kernel modules, and they need the fuse information for initialization. One example is the GK20A Nouveau driver. It needs the GPU speedo value to calculate frequency-voltage table. So export the tegra_sku_info. Signed-off-by: Vince Hsu <vinceh at nvidia.com> Acked-by: Alexandre Courbot <acourbot at nvidia.com> Acked-by: Thierry Reding <treding