summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/perf/vfe_var.h
diff options
context:
space:
mode:
authorTejal Kudav <tkudav@nvidia.com>2017-11-14 04:23:09 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-25 12:35:45 -0400
commit594f3d26ea55219fd1855d388477601d4cbb1a28 (patch)
treeb6ae8742d5da0309cfaff2324ba8e99071298711 /drivers/gpu/nvgpu/perf/vfe_var.h
parent0e42d34d16640fac79e7217980d9bfbd5f5b2fef (diff)
gpu: nvgpu: Update vfe_var interface as per chips_a_23609936
Changes made: 1. Fuse value can now be signed or unsigned. A new boolean added to check if the value is signed or not. 2. Masks added for dependent variable and equations 3. Restructing some data structures as per r384 JIRA NVGPUGV100-39 Change-Id: I7d9d1a55e26a06686f6253dedeb55925a32fd0ad Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1597761 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vaikundanathan S <vaikuns@nvidia.com> Tested-by: Vaikundanathan S <vaikuns@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/perf/vfe_var.h')
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_var.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/perf/vfe_var.h b/drivers/gpu/nvgpu/perf/vfe_var.h
index c443bc4b..3364f994 100644
--- a/drivers/gpu/nvgpu/perf/vfe_var.h
+++ b/drivers/gpu/nvgpu/perf/vfe_var.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -40,6 +40,8 @@ struct vfe_var {
40 struct boardobj super; 40 struct boardobj super;
41 u32 out_range_min; 41 u32 out_range_min;
42 u32 out_range_max; 42 u32 out_range_max;
43 struct boardobjgrpmask_e32 mask_dependent_vars;
44 struct boardobjgrpmask_e255 mask_dependent_equs;
43 bool b_is_dynamic_valid; 45 bool b_is_dynamic_valid;
44 bool b_is_dynamic; 46 bool b_is_dynamic;
45}; 47};
@@ -85,9 +87,11 @@ struct vfe_var_single_sensed {
85 87
86struct vfe_var_single_sensed_fuse { 88struct vfe_var_single_sensed_fuse {
87 struct vfe_var_single_sensed super; 89 struct vfe_var_single_sensed super;
88 struct nv_pmu_vfe_var_single_sensed_fuse_override_info override_info; 90 struct ctrl_perf_vfe_var_single_sensed_fuse_override_info override_info;
89 struct nv_pmu_vfe_var_single_sensed_fuse_vfield_info vfield_info; 91 struct ctrl_perf_vfe_var_single_sensed_fuse_vfield_info vfield_info;
90 struct nv_pmu_vfe_var_single_sensed_fuse_ver_vfield_info vfield_ver_info; 92 struct ctrl_perf_vfe_var_single_sensed_fuse_ver_vfield_info vfield_ver_info;
93 struct ctrl_perf_vfe_var_single_sensed_fuse_value fuse_val_default;
94 bool b_fuse_value_signed;
91 u32 fuse_value_integer; 95 u32 fuse_value_integer;
92 u32 fuse_value_hw_integer; 96 u32 fuse_value_hw_integer;
93 u8 fuse_version; 97 u8 fuse_version;