mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: move pmgr debugfs to linux
Move debugfs related part of pmgr to linux files. JIRA NVGPU-603 Change-Id: I478491e06e2e7cdbe3826166aafd8491d1e6c1e7 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1801086 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> 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
bcdac829f4
commit
78b4ab269f
@@ -60,6 +60,7 @@
|
||||
#include "ctxsw_trace.h"
|
||||
#include "driver_common.h"
|
||||
#include "channel.h"
|
||||
#include "debug_pmgr.h"
|
||||
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
#include "cde.h"
|
||||
@@ -214,6 +215,12 @@ int nvgpu_finalize_poweron_linux(struct nvgpu_os_linux *l)
|
||||
}
|
||||
}
|
||||
|
||||
err = nvgpu_pmgr_init_debugfs_linux(l);
|
||||
if (err) {
|
||||
nvgpu_err(g, "failed to init linux pmgr debugfs");
|
||||
return err;
|
||||
}
|
||||
|
||||
l->init_done = true;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user