diff options
author | Peter Boonstoppel <pboonstoppel@nvidia.com> | 2016-10-07 18:30:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-15 15:30:06 -0500 |
commit | 01e61860fafbc0ee045c2db931a79f6c0d5300aa (patch) | |
tree | 83c8da282d83fd8d9edc441d561dede6b9a8dece /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 3a6d47db9d00f86d90a1230dd2225bf4ae8944b8 (diff) |
gpu: nvgpu: gm20b expose gpcclk through CCF
Register gpcclk with Common Clock Framework to expose GPCPLL frequency
control
Bug 200233943
Change-Id: Id6f7bbaca15f22157b91b092c2a035af933fa71e
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/1236979
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 94b8d157..f13a11ea 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -179,6 +179,8 @@ struct gk20a_platform { | |||
179 | int (*clk_set_rate)(struct device *dev, | 179 | int (*clk_set_rate)(struct device *dev, |
180 | unsigned long rate); | 180 | unsigned long rate); |
181 | 181 | ||
182 | /* Called to register GPCPLL with common clk framework */ | ||
183 | int (*clk_register)(struct gk20a *g); | ||
182 | 184 | ||
183 | /* Postscale callback is called after frequency change */ | 185 | /* Postscale callback is called after frequency change */ |
184 | void (*postscale)(struct device *dev, | 186 | void (*postscale)(struct device *dev, |