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/ctrl/ctrlclkavfs.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/ctrl/ctrlclkavfs.h')
-rw-r--r-- | drivers/gpu/nvgpu/ctrl/ctrlclkavfs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/ctrl/ctrlclkavfs.h b/drivers/gpu/nvgpu/ctrl/ctrlclkavfs.h index 59a542c8..7338fa3a 100644 --- a/drivers/gpu/nvgpu/ctrl/ctrlclkavfs.h +++ b/drivers/gpu/nvgpu/ctrl/ctrlclkavfs.h | |||
@@ -41,6 +41,14 @@ | |||
41 | #define CTRL_CLK_VIN_ID_UNDEFINED 0x000000FF | 41 | #define CTRL_CLK_VIN_ID_UNDEFINED 0x000000FF |
42 | 42 | ||
43 | #define CTRL_CLK_VIN_TYPE_DISABLED 0x00000000 | 43 | #define CTRL_CLK_VIN_TYPE_DISABLED 0x00000000 |
44 | #define CTRL_CLK_VIN_TYPE_V10 0x00000001 | ||
45 | #define CTRL_CLK_VIN_TYPE_V20 0x00000002 | ||
46 | |||
47 | /*! | ||
48 | * Various types of VIN calibration that the GPU can support | ||
49 | */ | ||
50 | #define CTRL_CLK_VIN_CAL_TYPE_V10 (0x00000000) | ||
51 | #define CTRL_CLK_VIN_CAL_TYPE_V20 (0x00000001) | ||
44 | 52 | ||
45 | /*! | 53 | /*! |
46 | * Mask of all GPC VIN IDs supported by RM | 54 | * Mask of all GPC VIN IDs supported by RM |