diff options
author | Tejal Kudav <tkudav@nvidia.com> | 2017-11-08 04:56:23 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-12 05:31:15 -0400 |
commit | 2114869a4084809be18a489dc44d1b8f28e66598 (patch) | |
tree | beb0b902d0c1424a9086a3d0f6ba04dfaebf13d0 /drivers/gpu/nvgpu/gk20a | |
parent | 1f4bbff6e068e4b718b69bea5b9a1c3c07f5c49a (diff) |
gpu: nvgpu: Update clk_fll interface as per chips_a
Two new members added to fll struct and code modified to support
GV100 VBIOS NAFLL tables
Add g->ops for getting vbios clk domains
JIRA NVGPUGV100-39
Change-Id: Iaabea893d55d44a272e2bce2b1d525b122cd36f5
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1594289
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Tested-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e3b37747..2d1eb388 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -788,6 +788,9 @@ struct gpu_ops { | |||
788 | u8 volt_domain, u32 *pvoltage_uv); | 788 | u8 volt_domain, u32 *pvoltage_uv); |
789 | u32 (*volt_send_load_cmd_to_pmu)(struct gk20a *g); | 789 | u32 (*volt_send_load_cmd_to_pmu)(struct gk20a *g); |
790 | } volt; | 790 | } volt; |
791 | struct { | ||
792 | u32 (*get_vbios_clk_domain)(u32 vbios_domain); | ||
793 | }clk; | ||
791 | } pmu_ver; | 794 | } pmu_ver; |
792 | struct { | 795 | struct { |
793 | int (*get_netlist_name)(struct gk20a *g, int index, char *name); | 796 | int (*get_netlist_name)(struct gk20a *g, int index, char *name); |