Displaying 5 results from an estimated 5 matches for "nouveau_clock_init".
Did you mean:
_nouveau_clock_init
2013 Nov 14
0
null deref in nouveau_clock_init on pre-nv40 cards
Hi Ben,
Pre-nv40 cards don't have domains defined, which the
nouveau_clock_init code assumes exists. The following
(white-space-damaged, sorry) patch fixes boot for me, haven't really
tested the pre-nv40 cards in my system much further. I assume there's
some proper fix here.
-ilia
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/base.c
b/drivers/gpu/drm/nouve...
2014 Jul 10
0
[PATCH 3/3] drm/gk20a: reclocking support
..._clock_calc(&priv->base, &gk20a_pstates[0].base);
+ if (ret) {
+ nv_error(priv, "cannot compute clock parameters\n");
+ return ret;
+ }
+
+ ret = gk20a_clock_prog(&priv->base);
+ if (ret) {
+ nv_error(priv, "cannot initialize PLLG\n");
+ return ret;
+ }
+
+ nouveau_clock_init(&priv->base);
+
+ return 0;
+}
+
+static int
+gk20a_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
+ struct nouveau_oclass *oclass, void *data, u32 size,
+ struct nouveau_object **pobject)
+{
+ struct gk20a_clock_priv *priv;
+ struct nouveau_platform_device *pl...
2014 Jul 10
3
[PATCH 3/3] drm/gk20a: reclocking support
...> + if (ret) {
> + nv_error(priv, "cannot compute clock parameters\n");
> + return ret;
> + }
> +
> + ret = gk20a_clock_prog(&priv->base);
> + if (ret) {
> + nv_error(priv, "cannot initialize PLLG\n");
> + return ret;
> + }
> +
> + nouveau_clock_init(&priv->base);
> +
> + return 0;
> +}
> +
> +static int
> +gk20a_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
> + struct nouveau_oclass *oclass, void *data, u32 size,
> + struct nouveau_object **pobject)
> +{
> + struct gk20a_cloc...
2014 Jul 10
10
[PATCH 0/3] drm/gk20a: support for reclocking
This series adds support for reclocking on GK20A. The first two patches touch
the clock subsystem to allow GK20A to operate, by making the presence of the
thermal and voltage devices optional, and allowing pstates to be provided
directly instead of being probed using the BIOS (which Tegra does not have).
The last patch adds the GK20A clock device. Arguably the clock can be seen as a
stripped-down
2014 Jul 26
5
[PATCH v2 0/3] drm/gk20a: support for reclocking
Second version of the gk20a clock patches. I have tried to keep the therm and
volt devices mandatory in the clock driver, but unfortunately they are too tied
to bios to allow this, at least for the moment. Consequently this version is
mostly a port of the first version to Ben's tree.
Ben, please let me know what I have done wrong in terms of integration to your
tree, as the main purpose of