diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2016-08-31 20:04:56 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-08 19:04:09 -0400 |
commit | 9aa7de15c2a644e9c7e9c157e49087e66d4ac3d0 (patch) | |
tree | e5080886f09aa75c6a3cc83e5b27f8f7553678a4 /drivers/gpu/nvgpu/gm206 | |
parent | 70cad5fbb593602a49f91e57c04d1da0334b3a49 (diff) |
gpu: nvgpu: vgpu: cyclestat snapshot support
Add support for cyclestats snapshots in the virtual case
Bug 1700143
JIRA EVLR-278
Change-Id: I376a8804d57324f43eb16452d857a3b7bb0ecc90
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1211547
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/hal_gm206.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm206/hal_gm206.c b/drivers/gpu/nvgpu/gm206/hal_gm206.c index 3c6897ea..6b43c8e9 100644 --- a/drivers/gpu/nvgpu/gm206/hal_gm206.c +++ b/drivers/gpu/nvgpu/gm206/hal_gm206.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include "gr_gm206.h" | 41 | #include "gr_gm206.h" |
42 | #include "hw_proj_gm206.h" | 42 | #include "hw_proj_gm206.h" |
43 | #include "gk20a/dbg_gpu_gk20a.h" | 43 | #include "gk20a/dbg_gpu_gk20a.h" |
44 | #include "gk20a/css_gr_gk20a.h" | ||
44 | 45 | ||
45 | static struct gpu_ops gm206_ops = { | 46 | static struct gpu_ops gm206_ops = { |
46 | .clock_gating = { | 47 | .clock_gating = { |
@@ -199,6 +200,9 @@ int gm206_init_hal(struct gk20a *g) | |||
199 | gm20b_init_cde_ops(gops); | 200 | gm20b_init_cde_ops(gops); |
200 | gm20b_init_therm_ops(gops); | 201 | gm20b_init_therm_ops(gops); |
201 | gk20a_init_tsg_ops(gops); | 202 | gk20a_init_tsg_ops(gops); |
203 | #if defined(CONFIG_GK20A_CYCLE_STATS) | ||
204 | gk20a_init_css_ops(gops); | ||
205 | #endif | ||
202 | gm206_init_bios(gops); | 206 | gm206_init_bios(gops); |
203 | switch(ver){ | 207 | switch(ver){ |
204 | case GK20A_GPUID_GM206: | 208 | case GK20A_GPUID_GM206: |