diff options
author | Vaikundanathan S <vaikuns@nvidia.com> | 2018-04-03 05:41:58 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-04 09:09:47 -0400 |
commit | 65a362c01a1adc567fa176113dfeb1834777926d (patch) | |
tree | 74c85f3b2c2b0ec880bc6ecb5980caf9effde880 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 010439ba08891ce97c53c239b5bb8c4a2f5b5f01 (diff) |
gpu: nvgpu: Update clk_vin interface as per chips_a
clk_vin data structures updated as new calibration type (v20) is added.
GP106 header does not have vin calibration type.
Assuming V10 if calibration type is not V20.
Add fuse calibration for V20 type.
Bug 200399373
Change-Id: I9449de1ecb0d0873f3bc16f46660f93fab5b9eac
Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com>
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1687591
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-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 2d47f41e..75357a82 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -801,6 +801,9 @@ struct gpu_ops { | |||
801 | } volt; | 801 | } volt; |
802 | struct { | 802 | struct { |
803 | u32 (*get_vbios_clk_domain)(u32 vbios_domain); | 803 | u32 (*get_vbios_clk_domain)(u32 vbios_domain); |
804 | u32 (*clk_avfs_get_vin_cal_data)(struct gk20a *g, | ||
805 | struct avfsvinobjs *pvinobjs, | ||
806 | struct vin_device_v20 *pvindev); | ||
804 | }clk; | 807 | }clk; |
805 | } pmu_ver; | 808 | } pmu_ver; |
806 | struct { | 809 | struct { |