mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +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
@@ -17,6 +17,7 @@
|
||||
#include "os_linux.h"
|
||||
|
||||
#include "cde_gp10b.h"
|
||||
#include "debug_fecs_trace.h"
|
||||
|
||||
static struct nvgpu_os_linux_ops gp10b_os_linux_ops = {
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
@@ -26,6 +27,9 @@ static struct nvgpu_os_linux_ops gp10b_os_linux_ops = {
|
||||
.populate_scatter_buffer = gp10b_populate_scatter_buffer,
|
||||
},
|
||||
#endif
|
||||
.fecs_trace = {
|
||||
.init_debugfs = nvgpu_fecs_trace_init_debugfs,
|
||||
},
|
||||
};
|
||||
|
||||
void nvgpu_gp10b_init_os_ops(struct nvgpu_os_linux *l)
|
||||
@@ -33,4 +37,5 @@ void nvgpu_gp10b_init_os_ops(struct nvgpu_os_linux *l)
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
l->ops.cde = gp10b_os_linux_ops.cde;
|
||||
#endif
|
||||
l->ops.fecs_trace = gp10b_os_linux_ops.fecs_trace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user