mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: move fecs trace debugfs to linux
Add fecs trace debugfs initialization as an os op. The debugfs nodes are set up for gpu versions which call gk20a_fecs_trace_init(). JIRA NVGPU-602 Change-Id: I606ec31acbf04f633500be4c342db32f3f537794 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1812449 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> Reviewed-by: Alex Waterman <alexw@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
b2ba12ed55
commit
e93a4ca50b
@@ -216,6 +216,14 @@ int nvgpu_finalize_poweron_linux(struct nvgpu_os_linux *l)
|
||||
}
|
||||
}
|
||||
|
||||
if (l->ops.fecs_trace.init_debugfs) {
|
||||
err = l->ops.fecs_trace.init_debugfs(g);
|
||||
if (err) {
|
||||
nvgpu_err(g, "failed to init linux fecs trace debugfs");
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
err = nvgpu_pmgr_init_debugfs_linux(l);
|
||||
if (err) {
|
||||
nvgpu_err(g, "failed to init linux pmgr debugfs");
|
||||
|
||||
Reference in New Issue
Block a user