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>
This commit is contained in:
Thomas Fleury
2016-09-08 17:35:13 -07:00
committed by Deepak Nibade
parent 776ab920a7
commit db529935a5
3 changed files with 238 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
#include "vfe_equ.h"
#include "vfe_var.h"
#include "pstate/pstate.h"
#include "gk20a/gk20a.h"
#define CTRL_PERF_VFE_VAR_TYPE_INVALID 0x00
@@ -53,6 +54,7 @@
struct perf_pmupstate {
struct vfe_vars vfe_varobjs;
struct vfe_equs vfe_equobjs;
struct pstates pstatesobjs;
};
u32 perf_pmu_vfe_load(struct gk20a *g);