diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-09-08 20:35:13 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:50 -0500 |
commit | db529935a5f50e9e683d44d2eb01d0d76a915792 (patch) | |
tree | 6d1b3f63aaa5e5abd937cf0c3aec733b9e2e0d08 /drivers/gpu/nvgpu/perf | |
parent | 776ab920a7a4d31c6180e7dcb9f3fcea611e92bd (diff) |
gpu: nvgpu: parse performance table
Parse VBIOS performance table to retrieve clock ranges.
Jira DNVGPU-125
Change-Id: Ia8e4ede158de5c5374205a510099d00b497fe1a6
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1218935
(cherry picked from commit b5b7c789e98a20eb4cc5c30f0e2eb45d4a882cc4)
Reviewed-on: http://git-master/r/1232593
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf')
-rw-r--r-- | drivers/gpu/nvgpu/perf/perf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.h b/drivers/gpu/nvgpu/perf/perf.h index 02aed7a6..3ffaf4e1 100644 --- a/drivers/gpu/nvgpu/perf/perf.h +++ b/drivers/gpu/nvgpu/perf/perf.h | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include "vfe_equ.h" | 16 | #include "vfe_equ.h" |
17 | #include "vfe_var.h" | 17 | #include "vfe_var.h" |
18 | #include "pstate/pstate.h" | ||
18 | #include "gk20a/gk20a.h" | 19 | #include "gk20a/gk20a.h" |
19 | 20 | ||
20 | #define CTRL_PERF_VFE_VAR_TYPE_INVALID 0x00 | 21 | #define CTRL_PERF_VFE_VAR_TYPE_INVALID 0x00 |
@@ -53,6 +54,7 @@ | |||
53 | struct perf_pmupstate { | 54 | struct perf_pmupstate { |
54 | struct vfe_vars vfe_varobjs; | 55 | struct vfe_vars vfe_varobjs; |
55 | struct vfe_equs vfe_equobjs; | 56 | struct vfe_equs vfe_equobjs; |
57 | struct pstates pstatesobjs; | ||
56 | }; | 58 | }; |
57 | 59 | ||
58 | u32 perf_pmu_vfe_load(struct gk20a *g); | 60 | u32 perf_pmu_vfe_load(struct gk20a *g); |