summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-01-05 11:10:44 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-12 15:42:31 -0500
commit351f519c2e1a2424a9a09c7a6b0f5c075198b3f0 (patch)
treea6036da05341de5dc903892964490f78b661eba9 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c
parent5b10690479d016dd27d4592d94e7bd12a9277a34 (diff)
gpu: nvgpu: Add HAL for dumping ctxsw statistics
Add HAL for dumping ctxsw statistics. The statistics are dependent on the architecture, and the function that calls this operation needs to be moved to gk20a. Bug 1842197 Change-Id: I285c74b8ddc8c7854c85b3fef4cbfc582098919e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1632681 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index f19832b9..7c22448d 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -397,6 +397,7 @@ static const struct gpu_ops gv11b_ops = {
397 .get_max_gfxp_wfi_timeout_count = 397 .get_max_gfxp_wfi_timeout_count =
398 gr_gv11b_get_max_gfxp_wfi_timeout_count, 398 gr_gv11b_get_max_gfxp_wfi_timeout_count,
399 .ecc_init_scrub_reg = gr_gv11b_ecc_init_scrub_reg, 399 .ecc_init_scrub_reg = gr_gv11b_ecc_init_scrub_reg,
400 .dump_ctxsw_stats = gr_gp10b_dump_ctxsw_stats,
400 }, 401 },
401 .fb = { 402 .fb = {
402 .reset = gv11b_fb_reset, 403 .reset = gv11b_fb_reset,