diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-02-16 21:36:46 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-06 17:52:39 -0500 |
commit | f6cac2e0c4c57295886ea97833cebcd368de3788 (patch) | |
tree | 5c549a8abfcb69407b9ee9de78cc543e3594655b /drivers/gpu/nvgpu/gv11b | |
parent | d6b5d74c5ede5fb620b056286f9f615566f84b29 (diff) |
gpu: nvgpu: add debugger.post_events HAL op
RM Server will need to set specific HAL op and notify vgpu client.
Jira VQRM-2982
Change-Id: I679565831635ff3fadf0bdc1af5fd7a8679b6fdd
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1660226
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index d55d51ba..2cc2d53a 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -667,6 +667,9 @@ static const struct gpu_ops gv11b_ops = { | |||
667 | .debug = { | 667 | .debug = { |
668 | .show_dump = gk20a_debug_show_dump, | 668 | .show_dump = gk20a_debug_show_dump, |
669 | }, | 669 | }, |
670 | .debugger = { | ||
671 | .post_events = gk20a_dbg_gpu_post_events, | ||
672 | }, | ||
670 | .dbg_session_ops = { | 673 | .dbg_session_ops = { |
671 | .exec_reg_ops = exec_regops_gk20a, | 674 | .exec_reg_ops = exec_regops_gk20a, |
672 | .dbg_set_powergate = dbg_set_powergate, | 675 | .dbg_set_powergate = dbg_set_powergate, |
@@ -729,6 +732,7 @@ int gv11b_init_hal(struct gk20a *g) | |||
729 | gops->regops = gv11b_ops.regops; | 732 | gops->regops = gv11b_ops.regops; |
730 | gops->mc = gv11b_ops.mc; | 733 | gops->mc = gv11b_ops.mc; |
731 | gops->debug = gv11b_ops.debug; | 734 | gops->debug = gv11b_ops.debug; |
735 | gops->debugger = gv11b_ops.debugger; | ||
732 | gops->dbg_session_ops = gv11b_ops.dbg_session_ops; | 736 | gops->dbg_session_ops = gv11b_ops.dbg_session_ops; |
733 | gops->bus = gv11b_ops.bus; | 737 | gops->bus = gv11b_ops.bus; |
734 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 738 | #if defined(CONFIG_GK20A_CYCLE_STATS) |