diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-02-15 05:15:19 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:11 -0500 |
commit | f7872bec493d285d1f8a2c0bda69d9247f932b27 (patch) | |
tree | 72341fde584fc596207ac708b3f9358348f2227f /drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |
parent | 9864f1b0773c079f4517f3bfadddd24b1d5859a6 (diff) |
gpu: nvpgu: setup fecs_trace hal operations
bug 1648908
Change-Id: I630f74f09e0a4143f5028c88634b9793ec86b279
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1022730
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 9eea7d43..f2308ab5 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -902,6 +902,23 @@ static void dump_ctx_switch_stats(struct gk20a *g, struct vm_gk20a *vm, | |||
902 | WARN_ON("Cannot map context"); | 902 | WARN_ON("Cannot map context"); |
903 | return; | 903 | return; |
904 | } | 904 | } |
905 | gk20a_err(dev_from_gk20a(g), "ctxsw_prog_main_image_magic_value_o : %x (expect %x)\n", | ||
906 | gk20a_mem_rd32(ctx_ptr + | ||
907 | ctxsw_prog_main_image_magic_value_o(), 0), | ||
908 | ctxsw_prog_main_image_magic_value_v_value_v()); | ||
909 | |||
910 | gk20a_err(dev_from_gk20a(g), "ctxsw_prog_main_image_context_timestamp_buffer_ptr_hi : %x\n", | ||
911 | gk20a_mem_rd32(ctx_ptr + | ||
912 | ctxsw_prog_main_image_context_timestamp_buffer_ptr_hi_o(), 0)); | ||
913 | |||
914 | gk20a_err(dev_from_gk20a(g), "ctxsw_prog_main_image_context_timestamp_buffer_ptr : %x\n", | ||
915 | gk20a_mem_rd32(ctx_ptr + | ||
916 | ctxsw_prog_main_image_context_timestamp_buffer_ptr_o(), 0)); | ||
917 | |||
918 | gk20a_err(dev_from_gk20a(g), "ctxsw_prog_main_image_context_timestamp_buffer_control : %x\n", | ||
919 | gk20a_mem_rd32(ctx_ptr + | ||
920 | ctxsw_prog_main_image_context_timestamp_buffer_control_o(), 0)); | ||
921 | |||
905 | gk20a_err(dev_from_gk20a(g), "NUM_SAVE_OPERATIONS : %d\n", | 922 | gk20a_err(dev_from_gk20a(g), "NUM_SAVE_OPERATIONS : %d\n", |
906 | gk20a_mem_rd32(ctx_ptr + | 923 | gk20a_mem_rd32(ctx_ptr + |
907 | ctxsw_prog_main_image_num_save_ops_o(), 0)); | 924 | ctxsw_prog_main_image_num_save_ops_o(), 0)); |