mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: unify nvgpu_has_syncpoints
- move nvgpu_has_syncpoints to common code and only checks flag NVGPU_HAS_SYNCPOINTS - the debugfs node disable_syncpoints also enable/disable the flag NVGPU_HAS_SYNCPOINTS Jira GVSCI-10881 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Change-Id: I8dc5dd17ad404238203a048abf49ff2b434fce11 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2542738 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
68e11c8bd3
commit
2845f2b66e
@@ -114,6 +114,7 @@ struct nvgpu_os_linux {
|
||||
struct dentry *debugfs_timeouts_enabled;
|
||||
struct dentry *debugfs_disable_bigpage;
|
||||
struct dentry *debugfs_dbg_tsg_timeslice_max_us;
|
||||
struct dentry *debugfs_disable_syncpts;
|
||||
|
||||
struct dentry *debugfs_runlist_interleave;
|
||||
struct dentry *debugfs_allocators;
|
||||
@@ -135,8 +136,6 @@ struct nvgpu_os_linux {
|
||||
|
||||
bool init_done;
|
||||
|
||||
/** Debugfs knob for forcing syncpt support off in runtime. */
|
||||
bool disable_syncpoints;
|
||||
bool enable_platform_dbg;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user