summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/clk_arb_gp106.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/clk_arb_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/clk_arb_gp106.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.h b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.h
index fc4657f5..e2b2834c 100644
--- a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -22,10 +22,16 @@
22#ifndef CLK_ARB_GP106_H 22#ifndef CLK_ARB_GP106_H
23#define CLK_ARB_GP106_H 23#define CLK_ARB_GP106_H
24 24
25struct nvgpu_clk_session;
26struct nvgpu_clk_arb;
27
25u32 gp106_get_arbiter_clk_domains(struct gk20a *g); 28u32 gp106_get_arbiter_clk_domains(struct gk20a *g);
26int gp106_get_arbiter_clk_range(struct gk20a *g, u32 api_domain, 29int gp106_get_arbiter_clk_range(struct gk20a *g, u32 api_domain,
27 u16 *min_mhz, u16 *max_mhz); 30 u16 *min_mhz, u16 *max_mhz);
28int gp106_get_arbiter_clk_default(struct gk20a *g, u32 api_domain, 31int gp106_get_arbiter_clk_default(struct gk20a *g, u32 api_domain,
29 u16 *default_mhz); 32 u16 *default_mhz);
33int gp106_init_clk_arbiter(struct gk20a *g);
34void gp106_clk_arb_run_arbiter_cb(struct nvgpu_clk_arb *arb);
35void gp106_clk_arb_cleanup(struct nvgpu_clk_arb *arb);
30 36
31#endif /* CLK_ARB_GP106_H */ 37#endif /* CLK_ARB_GP106_H */