gpu: nvgpu: Move XVE debugfs code to Linux module

Move XVE debugfs initialization code to live under common/linux.

JIRA NVGPU-62

Change-Id: Ic6677511d249bc0a2455dde01db5b230afc70bb1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1535133
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Terje Bergstrom
2017-08-08 10:53:25 -07:00
committed by mobile promotions
parent b610bb9510
commit 89772b03cb
10 changed files with 269 additions and 218 deletions

View File

@@ -22,6 +22,7 @@
#include "debug_pmu.h"
#include "debug_sched.h"
#include "debug_hal.h"
#include "debug_xve.h"
#include "os_linux.h"
#include "gk20a/gk20a.h"
@@ -394,6 +395,8 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
#ifdef CONFIG_NVGPU_TRACK_MEM_USAGE
nvgpu_kmem_debugfs_init(g);
#endif
if (g->pci_vendor_id)
nvgpu_xve_debugfs_init(g);
}
void gk20a_debug_deinit(struct gk20a *g)