Displaying 6 results from an estimated 6 matches for "pll_set".
Did you mean:
isl_set
2016 Feb 11
1
[PATCH] devinit/gf100-: detect if BIOS invoked devinit
...on suspend */
+ if (!base->post)
+ base->post = ((nvkm_rd32(device, 0x2240c) & BIT(1)) == 0);
+}
+
static const struct nvkm_devinit_func
gf100_devinit = {
- .preinit = nv50_devinit_preinit,
+ .preinit = gf100_devinit_preinit,
.init = nv50_devinit_init,
.post = nv04_devinit_post,
.pll_set = gf100_devinit_pll_set,
diff --git a/drm/nouveau/nvkm/subdev/devinit/gm107.c b/drm/nouveau/nvkm/subdev/devinit/gm107.c
index 2be98bd..28ca01b 100644
--- a/drm/nouveau/nvkm/subdev/devinit/gm107.c
+++ b/drm/nouveau/nvkm/subdev/devinit/gm107.c
@@ -46,7 +46,7 @@ gm107_devinit_disable(struct nvkm_devin...
2012 Nov 16
0
[PATCH] drm/nouveau: add missing pll_calc calls
...ls *);
#endif
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c b/drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c
index cc8d7d1..9068c98 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c
@@ -66,6 +66,24 @@ nva3_clock_pll_set(struct nouveau_clock *clk, u32 type, u32 freq)
return ret;
}
+int
+nva3_clock_pll_calc(struct nouveau_clock *clock, struct nvbios_pll *info,
+ int clk, struct nouveau_pll_vals *pv)
+{
+ int ret, N, M, P;
+
+ ret = nva3_pll_calc(clock, info, clk, &N, NULL, &M, &P);
+
+ if (ret...
2014 Nov 19
2
Is it necessary to parse the VBIOS init table when executable is false?
...these functions that parse the VBIOS init table seems to do nothing except the parsing. And in my opinion,init_exec_force does nothing,too!
Then I tried to test it on my computer,when the VBIOS parser tries to change a MMIO register or call a function of struct nouveau_devinit (such as devinit->pll_set,etc.),it will print a message into the kernel log. However,I cannot see any message about this in the kernel log!
Finally,I decided to just return when executable is zero. Then I found out the driver also works perfectly.
So I asked the question here,thanks for your help.
2012 Oct 07
1
[PATCH] drm/nv50: wire up pll_calc hook
...uveau/core/subdev/clock/nv50.c
index fd181fb..f4147f6 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
@@ -90,6 +90,7 @@ nv50_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return ret;
priv->base.pll_set = nv50_clock_pll_set;
+ priv->base.pll_calc = nv04_clock_pll_calc;
return 0;
}
--
1.7.12
2014 Nov 19
0
Is it necessary to parse the VBIOS init table when executable is false?
...critical path (such as
resume from suspend) where we can't recover.
Ben.
And in my opinion,init_exec_force does nothing,too!
>
> Then I tried to test it on my computer,when the VBIOS parser tries to
change a MMIO register or call a function of struct nouveau_devinit (such
as devinit->pll_set,etc.),it will print a message into the kernel log.
However,I cannot see any message about this in the kernel log!
>
> Finally,I decided to just return when executable is zero. Then I found
out the driver also works perfectly.
>
> So I asked the question here,thanks for your help.
> _...
2014 Jan 10
2
[PATCH 1/3] drm/nouveau: provide a way for devinit to mark engines as disabled
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
I decided to let the user still specify config=BLA=1 to override the hw
disable in case we get something wrong or for double-checking stuff, but I
suspect it won't really be used much. I'm not terribly fond of the message
text, if you come up with something better, feel free to drop it in.