summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/clock/nva3.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/subdev/clock/nva3.h')
-rw-r--r--drm/nouveau/nvkm/subdev/clock/nva3.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drm/nouveau/nvkm/subdev/clock/nva3.h b/drm/nouveau/nvkm/subdev/clock/nva3.h
new file mode 100644
index 000000000..a45a1038b
--- /dev/null
+++ b/drm/nouveau/nvkm/subdev/clock/nva3.h
@@ -0,0 +1,20 @@
+#ifndef __NVKM_CLK_NVA3_H__
+#define __NVKM_CLK_NVA3_H__
+
+#include <subdev/clock.h>
+
+struct nva3_clock_info {
+ u32 clk;
+ u32 pll;
+ enum {
+ NVA3_HOST_277,
+ NVA3_HOST_CLK,
+ } host_out;
+ u32 fb_delay;
+};
+
+int nva3_pll_info(struct nouveau_clock *, int, u32, u32,
+ struct nva3_clock_info *);
+int nva3_clock_pre(struct nouveau_clock *clk, unsigned long *flags);
+void nva3_clock_post(struct nouveau_clock *clk, unsigned long *flags);
+#endif