summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2015-12-29 03:23:46 -0500
committerSachin Nikam <snikam@nvidia.com>2016-01-13 01:58:32 -0500
commitca76b336b32dce2e57034fbd44a273c539f67a54 (patch)
treeac0dadeb96f3c180a7a0bfcc51679858b2dedb95 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parent0ce201e8de6a320b70f1f34d05202650b9b5a046 (diff)
gpu: nvgpu: support preprocessing of SM exceptions
Support preprocessing of SM exceptions if API pointer pre_process_sm_exception() is defined Also, expose some common APIs Bug 200156699 Change-Id: I1303642c1c4403c520b62efb6fd83e95eaeb519b Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/925883 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index fcc3ed10..309aaf95 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GM20B GPC MMU 2 * GM20B GPC MMU
3 * 3 *
4 * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -1226,4 +1226,5 @@ void gm20b_init_gr(struct gpu_ops *gops)
1226 gops->gr.enable_cde_in_fecs = gr_gm20b_enable_cde_in_fecs; 1226 gops->gr.enable_cde_in_fecs = gr_gm20b_enable_cde_in_fecs;
1227 gops->gr.bpt_reg_info = gr_gm20b_bpt_reg_info; 1227 gops->gr.bpt_reg_info = gr_gm20b_bpt_reg_info;
1228 gops->gr.get_access_map = gr_gm20b_get_access_map; 1228 gops->gr.get_access_map = gr_gm20b_get_access_map;
1229 gops->gr.handle_fecs_error = gk20a_gr_handle_fecs_error;
1229} 1230}