mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: debugfs node to enable/disable ltc_illegal_compstat intr
Added debugfs node under ltc directory with name: intr_illegal_compstat_enable Enabling/disabling of ltc_illegal_compstat intr is possible through debugfs node. Since ltc state is lost with rail gate, this setting is cached and will be populated during ltc initialization. Bug 2099406 Change-Id: I4bf62228dfd2bbb94f87f923f9f4f6e5ad0b07f0 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1774683 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
2c2d9e6671
commit
69be500c0b
@@ -22,6 +22,7 @@
|
||||
#include "debug_sched.h"
|
||||
#include "debug_hal.h"
|
||||
#include "debug_xve.h"
|
||||
#include "debug_ltc.h"
|
||||
#include "debug_bios.h"
|
||||
#include "os_linux.h"
|
||||
#include "platform_gk20a.h"
|
||||
@@ -435,6 +436,7 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
|
||||
#ifdef CONFIG_NVGPU_TRACK_MEM_USAGE
|
||||
nvgpu_kmem_debugfs_init(g);
|
||||
#endif
|
||||
nvgpu_ltc_debugfs_init(g);
|
||||
if (g->pci_vendor_id) {
|
||||
nvgpu_xve_debugfs_init(g);
|
||||
nvgpu_bios_debugfs_init(g);
|
||||
|
||||
Reference in New Issue
Block a user