diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-05-19 08:25:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 15:14:19 -0400 |
commit | f0444184278c356735420f0f88da744bf7adcdf7 (patch) | |
tree | 40d38508ae7593f45866c938079dfa0c0b5ae7bc /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | b70bad4b9f40e94f731fd9d509e1f3f6617f0b05 (diff) |
gpu: nvgpu: Track also pushbuf get for watchdog
Make the watchdog notice also fine-grained changes within a single
pushbuffer - by tracking just the gpfifo get, the watchdog could wake
when the channel hasn't really been stuck but processing a relatively
large or slow pushbuf.
Jira NVGPU-72
Change-Id: I15374eea5d9abc9d3725a79d0b960503237e478c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1485919
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 68c10284..a8837433 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -471,6 +471,7 @@ struct gpu_ops { | |||
471 | u32 *runlist); | 471 | u32 *runlist); |
472 | u32 (*userd_gp_get)(struct gk20a *g, struct channel_gk20a *ch); | 472 | u32 (*userd_gp_get)(struct gk20a *g, struct channel_gk20a *ch); |
473 | void (*userd_gp_put)(struct gk20a *g, struct channel_gk20a *ch); | 473 | void (*userd_gp_put)(struct gk20a *g, struct channel_gk20a *ch); |
474 | u64 (*userd_pb_get)(struct gk20a *g, struct channel_gk20a *ch); | ||
474 | void (*free_channel_ctx_header)(struct channel_gk20a *ch); | 475 | void (*free_channel_ctx_header)(struct channel_gk20a *ch); |
475 | bool (*is_fault_engine_subid_gpc)(struct gk20a *g, | 476 | bool (*is_fault_engine_subid_gpc)(struct gk20a *g, |
476 | u32 engine_subid); | 477 | u32 engine_subid); |