summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/clk/pll.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-01-14 14:47:24 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-01-19 15:42:00 +1000
commit8700f8d9963c53718cdd567762b8f1d588c8b8e5 (patch)
tree542e62402ac574eb9f210d8db38ab916a0820928 /drm/nouveau/nvkm/subdev/clk/pll.h
parent318a53d130bd52ea81c5dc5dc1ec4b25d90e3b95 (diff)
downloadnouveau-8700f8d9963c53718cdd567762b8f1d588c8b8e5.tar.gz
clk: namespace + nvidia gpu names (no binary change)
The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/subdev/clk/pll.h')
-rw-r--r--drm/nouveau/nvkm/subdev/clk/pll.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/drm/nouveau/nvkm/subdev/clk/pll.h b/drm/nouveau/nvkm/subdev/clk/pll.h
index 445b14c33..44020a30d 100644
--- a/drm/nouveau/nvkm/subdev/clk/pll.h
+++ b/drm/nouveau/nvkm/subdev/clk/pll.h
@@ -1,9 +1,11 @@
-#ifndef __NOUVEAU_PLL_H__
-#define __NOUVEAU_PLL_H__
+#ifndef __NVKM_PLL_H__
+#define __NVKM_PLL_H__
+#include <core/os.h>
+struct nvkm_subdev;
+struct nvbios_pll;
-int nv04_pll_calc(struct nouveau_subdev *, struct nvbios_pll *, u32 freq,
+int nv04_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
int *N1, int *M1, int *N2, int *M2, int *P);
-int nva3_pll_calc(struct nouveau_subdev *, struct nvbios_pll *, u32 freq,
+int gt215_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
int *N, int *fN, int *M, int *P);
-
#endif