diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-01-25 21:50:44 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-22 22:46:40 -0400 |
commit | 23e92bee4a8f6b66dfd1f5082af2712c0ae0b602 (patch) | |
tree | 58ff8598ca40a9144b2c1d142b41379e543a2722 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7719eb94f7ef155cf097b599464cbaba4d9a80e0 (diff) |
gpu: nvgpu: profiler create/free, hwpm reserve
Add support for creating/freeing profiler objects, hwpm reservations
Bug 1775465
JIRA EVLR-680
JIRA EVLR-682
Change-Id: I4db83d00e4b0b552b05b9aae96dc553dd1257d88
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1294401
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 5bf1e02d..7c836b3c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -966,6 +966,11 @@ struct gk20a { | |||
966 | struct nvgpu_dbg_gpu_reg_op *dbg_regops_tmp_buf; | 966 | struct nvgpu_dbg_gpu_reg_op *dbg_regops_tmp_buf; |
967 | u32 dbg_regops_tmp_buf_ops; | 967 | u32 dbg_regops_tmp_buf_ops; |
968 | 968 | ||
969 | /* For profiler reservations */ | ||
970 | struct list_head profiler_objects; | ||
971 | bool global_profiler_reservation_held; | ||
972 | int profiler_reservation_count; | ||
973 | |||
969 | void (*remove_support)(struct device *); | 974 | void (*remove_support)(struct device *); |
970 | 975 | ||
971 | u64 pg_ingating_time_us; | 976 | u64 pg_ingating_time_us; |