gpu: nvgpu: print enabled_flags after poweron

GPU enabled_flags indicate features supported by nvgpu.
Add nvgpu_print_enabled() to print GPU enabled_flags. Print flag value
after poweron complete to help during debug.
Add verbose function to print flag name and status if gpu_dbg_info is
set.

JIRA NVGPU-5838

Change-Id: I3b0ddb8c6872f4f3b6101050da087ff553c16f84
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2383531
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2020-07-21 22:38:03 -07:00
committed by Alex Waterman
parent 16d54e83bf
commit ae25924393
3 changed files with 220 additions and 258 deletions

View File

@@ -737,6 +737,7 @@ int nvgpu_finalize_poweron(struct gk20a *g)
}
}
nvgpu_print_enabled_flags(g);
return err;
done: