mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Disable ELPG on Prod build
On embedded linux production build, disable the below features 1. ELPG support and its debug and sysfs nodes 2. PERFMON support and its debug and sysfs nodes JIRA NVGPU-9763 Signed-off-by: Dinesh Kamalakannan <dineshka@nvidia.com> Change-Id: Icae1a082c2ee3a4b2c6ffc4862a0fc5b22bc4366 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2827571/ Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2827571 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a8581f0283
commit
1aaa6e439c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2022, NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (C) 2017-2023, NVIDIA Corporation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -511,7 +511,9 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
|
||||
&g->runlist_interleave);
|
||||
|
||||
gr_gk20a_debugfs_init(g);
|
||||
#ifndef CONFIG_NVGPU_EMB_LINUX_PROD_BUILD
|
||||
gk20a_pmu_debugfs_init(g);
|
||||
#endif
|
||||
gk20a_railgating_debugfs_init(g);
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
gk20a_cde_debugfs_init(g);
|
||||
|
||||
Reference in New Issue
Block a user