mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: add debugger flag for fb units
Add CONFIG_NVGPU_DEBUGGER flag for debugger specific code in common.hal.fb unit Jira NVGPU-3506 Change-Id: If459e623e73ce716088d9cb92c31864c26fe0d3d Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2132260 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
1112af9f8c
commit
a3d30adab2
@@ -474,8 +474,10 @@ int gk20a_finalize_poweron(struct gk20a *g)
|
||||
|
||||
g->ops.chip_init_gpu_characteristics(g);
|
||||
|
||||
#ifdef CONFIG_NVGPU_DEBUGGER
|
||||
/* Restore the debug setting */
|
||||
g->ops.fb.set_debug_mode(g, g->mmu_debug_ctrl);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NVGPU_CE
|
||||
err = nvgpu_ce_init_support(g);
|
||||
|
||||
Reference in New Issue
Block a user