mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Remove gk20a_dbg* functions
Switch all logging to nvgpu_log*(). gk20a_dbg* macros are intentionally left there because of use from other repositories. Because the new functions do not work without a pointer to struct gk20a, and piping it just for logging is excessive, some log messages are deleted. Change-Id: I00e22e75fe4596a330bb0282ab4774b3639ee31e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1704148 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
7e66f2a63d
commit
dd739fcb03
@@ -307,10 +307,6 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
|
||||
debugfs_create_u32("disable_syncpoints", S_IRUGO,
|
||||
l->debugfs, &g->disable_syncpoints);
|
||||
|
||||
/* Legacy debugging API. */
|
||||
debugfs_create_u64("dbg_mask", S_IRUGO|S_IWUSR,
|
||||
l->debugfs, &nvgpu_dbg_mask);
|
||||
|
||||
/* New debug logging API. */
|
||||
debugfs_create_u64("log_mask", S_IRUGO|S_IWUSR,
|
||||
l->debugfs, &g->log_mask);
|
||||
|
||||
Reference in New Issue
Block a user