diff options
author | Vijayakumar <vsubbu@nvidia.com> | 2016-09-27 06:59:14 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:50 -0500 |
commit | f533ec3cbddfff7944c4b9021cccf026dc27e572 (patch) | |
tree | 84d4524d2b91e8881c27c3485c27bb9845785e94 /drivers/gpu/nvgpu/clk/clk.h | |
parent | af637c81fe6360dbe81373b6f1e5dbdd3ca35536 (diff) |
gpu: nvgpu: fix sram rail volt calculation
JIRA DNVGPU-120
SRAM rail voltage needs to be picked up from SRAM
index of VF entries in CLK prog table.
Change-Id: Iabfff62edeec5aa9c2ead62d6b943fb2ebb952ed
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/1227665
(cherry picked from commit 8053260438bc94397b20e74cf18453624ebeb325)
Reviewed-on: http://git-master/r/1244664
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk.h b/drivers/gpu/nvgpu/clk/clk.h index e54af521..2d6425b5 100644 --- a/drivers/gpu/nvgpu/clk/clk.h +++ b/drivers/gpu/nvgpu/clk/clk.h | |||
@@ -104,12 +104,12 @@ struct vbios_clocks_table_1x_hal_clock_entry { | |||
104 | 104 | ||
105 | u32 clk_pmu_vin_load(struct gk20a *g); | 105 | u32 clk_pmu_vin_load(struct gk20a *g); |
106 | u32 clk_domain_print_vf_table(struct gk20a *g, u32 clkapidomain); | 106 | u32 clk_domain_print_vf_table(struct gk20a *g, u32 clkapidomain); |
107 | u32 clk_domain_get_f_or_v | 107 | u32 clk_domain_get_f_or_v( |
108 | ( | ||
109 | struct gk20a *g, | 108 | struct gk20a *g, |
110 | u32 clkapidomain, | 109 | u32 clkapidomain, |
111 | u16 *pclkmhz, | 110 | u16 *pclkmhz, |
112 | u32 *pvoltuv | 111 | u32 *pvoltuv, |
112 | u8 railidx | ||
113 | ); | 113 | ); |
114 | u32 clk_domain_get_f_points( | 114 | u32 clk_domain_get_f_points( |
115 | struct gk20a *g, | 115 | struct gk20a *g, |