diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-07-26 18:41:41 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:12:48 +1000 |
commit | b13a0a9e2922cbfbf7b400f4f0fd0acd19f941df (patch) | |
tree | 4a26dca428907a2bb1bbd69850c89143c480edb8 /drivers/gpu/drm/nouveau/core/include/subdev | |
parent | bb4d29df5e929a356e2cff2a6d7f38442d322d5b (diff) | |
download | op-kernel-dev-b13a0a9e2922cbfbf7b400f4f0fd0acd19f941df.zip op-kernel-dev-b13a0a9e2922cbfbf7b400f4f0fd0acd19f941df.tar.gz |
drm/nouveau/gk20a: reclocking support
Add support for reclocking on GK20A, using a statically-defined pstates
table. The algorithms for calculating the coefficients and setting the
clocks are directly taken from the ChromeOS kernel.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/clock.h b/drivers/gpu/drm/nouveau/core/include/subdev/clock.h index a758147..0d30fa0 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/clock.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/clock.h @@ -147,6 +147,7 @@ extern struct nouveau_oclass *nvaa_clock_oclass; extern struct nouveau_oclass nva3_clock_oclass; extern struct nouveau_oclass nvc0_clock_oclass; extern struct nouveau_oclass nve0_clock_oclass; +extern struct nouveau_oclass gk20a_clock_oclass; int nv04_clock_pll_set(struct nouveau_clock *, u32 type, u32 freq); int nv04_clock_pll_calc(struct nouveau_clock *, struct nvbios_pll *, |