mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +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
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "debug_clk_gp106.h"
|
||||
#include "debug_therm_gp106.h"
|
||||
#include "debug_fecs_trace.h"
|
||||
|
||||
static struct nvgpu_os_linux_ops gv100_os_linux_ops = {
|
||||
.clk = {
|
||||
@@ -26,10 +27,14 @@ static struct nvgpu_os_linux_ops gv100_os_linux_ops = {
|
||||
.therm = {
|
||||
.init_debugfs = gp106_therm_init_debugfs,
|
||||
},
|
||||
.fecs_trace = {
|
||||
.init_debugfs = nvgpu_fecs_trace_init_debugfs,
|
||||
},
|
||||
};
|
||||
|
||||
void nvgpu_gv100_init_os_ops(struct nvgpu_os_linux *l)
|
||||
{
|
||||
l->ops.clk = gv100_os_linux_ops.clk;
|
||||
l->ops.therm = gv100_os_linux_ops.therm;
|
||||
l->ops.fecs_trace = gv100_os_linux_ops.fecs_trace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user