mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Introduce NVGPU_DEBUGGER build flag
Introduce build flag for NVGPU_DEBUGGER. Also introduces Makefile flag NVGPU_REDUCED and disables NVGPU_DEBUGGER when doing a reduced build. Make user space build enable the reduced build. Change-Id: I84d6142811f674f2a7652e093b63ea5e93d9143e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2002190 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d174860854
commit
a9f404cb99
@@ -5477,11 +5477,13 @@ int gk20a_gr_isr(struct gk20a *g)
|
||||
need_reset = true;
|
||||
}
|
||||
|
||||
#ifdef NVGPU_DEBUGGER
|
||||
/* signal clients waiting on an event */
|
||||
if (g->ops.gr.sm_debugger_attached(g) &&
|
||||
post_event && (fault_ch != NULL)) {
|
||||
g->ops.debugger.post_events(fault_ch);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
gk20a_writel(g, gr_intr_r(), gr_intr_exception_reset_f());
|
||||
|
||||
Reference in New Issue
Block a user