From f6cac2e0c4c57295886ea97833cebcd368de3788 Mon Sep 17 00:00:00 2001 From: Aparna Das Date: Fri, 16 Feb 2018 18:36:46 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1660226 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 82ef0461..35e4a7dd 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -668,6 +668,9 @@ static const struct gpu_ops gp106_ops = { .debug = { .show_dump = gk20a_debug_show_dump, }, + .debugger = { + .post_events = gk20a_dbg_gpu_post_events, + }, .dbg_session_ops = { .exec_reg_ops = exec_regops_gk20a, .dbg_set_powergate = dbg_set_powergate, @@ -762,6 +765,7 @@ int gp106_init_hal(struct gk20a *g) gops->regops = gp106_ops.regops; gops->mc = gp106_ops.mc; gops->debug = gp106_ops.debug; + gops->debugger = gp106_ops.debugger; gops->dbg_session_ops = gp106_ops.dbg_session_ops; gops->bus = gp106_ops.bus; #if defined(CONFIG_GK20A_CYCLE_STATS) -- cgit v1.2.2