summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_arb.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-01-20 19:05:14 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-31 19:23:23 -0500
commitd2de17bfb0eb24ac020e2dfa3ce0dd4f9d0332f9 (patch)
tree79b9bd6e1624a096fb160f5aec49e4b1f81efb0a /drivers/gpu/nvgpu/clk/clk_arb.h
parentdb41ae567c21589c59804bf5a41ef3b15ba9984e (diff)
gpu: nvgpu: prepare MCLK/GPCLK enumeration change
GPC2CLK has been replaced with GPCCLK on user API. Remove related definition from kernel API. GPCLCK and MCLK are currently assigned EQU values in kernel API. We want to move to a simple enumeration as used in nvrm_gpu. During the transition, an alias value will be defined for each clock, and kernel will accept both. Jira DNVGPU-210 Jira DNVGPU-211 Change-Id: I944fe78be9f810279f7a69964be7cda9b9c8d40d Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1292593 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.h')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.h b/drivers/gpu/nvgpu/clk/clk_arb.h
index c7dc8d19..45d8ed73 100644
--- a/drivers/gpu/nvgpu/clk/clk_arb.h
+++ b/drivers/gpu/nvgpu/clk/clk_arb.h
@@ -34,6 +34,7 @@ int nvgpu_clk_arb_get_arbiter_clk_f_points(struct gk20a *g,
34 u32 api_domain, u32 *max_points, u16 *fpoints); 34 u32 api_domain, u32 *max_points, u16 *fpoints);
35 35
36u32 nvgpu_clk_arb_get_arbiter_clk_domains(struct gk20a *g); 36u32 nvgpu_clk_arb_get_arbiter_clk_domains(struct gk20a *g);
37bool nvgpu_clk_arb_is_valid_domain(struct gk20a *g, u32 api_domain);
37 38
38void nvgpu_clk_arb_cleanup_arbiter(struct gk20a *g); 39void nvgpu_clk_arb_cleanup_arbiter(struct gk20a *g);
39 40