mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: rename feature Make and C flags
Name the Make and C flag variables consistently wih syntax: CONFIG_NVGPU_<feature name> s/NVGPU_DEBUGGER/CONFIG_NVGPU_DEBUGGER s/NVGPU_CYCLESTATS/CONFIG_NVGPU_CYCLESTATS s/NVGPU_USERD/CONFIG_NVGPU_USERD s/NVGPU_CHANNEL_WDT/CONFIG_NVGPU_CHANNEL_WDT s/NVGPU_FEATURE_CE/CONFIG_NVGPU_CE s/NVGPU_GRAPHICS/CONFIG_NVGPU_GRAPHICS s/NVGPU_ENGINE/CONFIG_NVGPU_FIFO_ENGINE_ACTIVITY s/NVGPU_FEATURE_CHANNEL_TSG_SCHED/CONFIG_NVGPU_CHANNEL_TSG_SCHED s/NVGPU_FEATURE_CHANNEL_TSG_CONTROL/CONFIG_NVGPU_CHANNEL_TSG_CONTROL s/NVGPU_FEATURE_ENGINE_QUEUE/CONFIG_NVGPU_ENGINE_QUEUE s/GK20A_CTXSW_TRACE/CONFIG_NVGPU_FECS_TRACE s/IGPU_VIRT_SUPPORT/CONFIG_NVGPU_IGPU_VIRT s/CONFIG_TEGRA_NVLINK/CONFIG_NVGPU_NVLINK s/NVGPU_DGPU_SUPPORT/CONFIG_NVGPU_DGPU s/NVGPU_VPR/CONFIG_NVGPU_VPR s/NVGPU_REPLAYABLE_FAULT/CONFIG_NVGPU_REPLAYABLE_FAULT s/NVGPU_FEATURE_LS_PMU/CONFIG_NVGPU_LS_PMU s/NVGPU_FEATURE_POWER_PG/CONFIG_NVGPU_POWER_PG JIRA NVGPU-3624 Change-Id: I8b2492b085095fc6ee95926d8f8c3929702a1773 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2130290 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
cc3b0467db
commit
3f08cf8a48
@@ -590,7 +590,7 @@ static int dbg_unbind_all_channels_gk20a(struct dbg_session_gk20a *dbg_s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef NVGPU_DEBUGGER
|
||||
#ifdef CONFIG_NVGPU_DEBUGGER
|
||||
/*
|
||||
* Convert common regops op values of the form of NVGPU_DBG_REG_OP_*
|
||||
* into linux regops op values of the form of NVGPU_DBG_GPU_REG_OP_*
|
||||
@@ -935,7 +935,7 @@ static int nvgpu_ioctl_channel_reg_ops(struct dbg_session_gk20a *dbg_s,
|
||||
|
||||
return err;
|
||||
}
|
||||
#endif /* NVGPU_DEBUGGER */
|
||||
#endif /* CONFIG_NVGPU_DEBUGGER */
|
||||
|
||||
static int nvgpu_ioctl_powergate_gk20a(struct dbg_session_gk20a *dbg_s,
|
||||
struct nvgpu_dbg_gpu_powergate_args *args)
|
||||
@@ -1906,7 +1906,7 @@ static int nvgpu_dbg_gpu_set_sm_exception_type_mask(struct dbg_session_gk20a *db
|
||||
return err;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_GK20A_CYCLE_STATS)
|
||||
#if defined(CONFIG_NVGPU_CYCLESTATS)
|
||||
static int nvgpu_dbg_gpu_cycle_stats(struct dbg_session_gk20a *dbg_s,
|
||||
struct nvgpu_dbg_gpu_cycle_stats_args *args)
|
||||
{
|
||||
@@ -2038,7 +2038,7 @@ long gk20a_dbg_gpu_dev_ioctl(struct file *filp, unsigned int cmd,
|
||||
(struct nvgpu_dbg_gpu_bind_channel_args *)buf);
|
||||
break;
|
||||
|
||||
#ifdef NVGPU_DEBUGGER
|
||||
#ifdef CONFIG_NVGPU_DEBUGGER
|
||||
case NVGPU_DBG_GPU_IOCTL_REG_OPS:
|
||||
err = nvgpu_ioctl_channel_reg_ops(dbg_s,
|
||||
(struct nvgpu_dbg_gpu_exec_reg_ops_args *)buf);
|
||||
@@ -2145,7 +2145,7 @@ long gk20a_dbg_gpu_dev_ioctl(struct file *filp, unsigned int cmd,
|
||||
(struct nvgpu_dbg_gpu_set_sm_exception_type_mask_args *)buf);
|
||||
break;
|
||||
|
||||
#ifdef CONFIG_GK20A_CYCLE_STATS
|
||||
#ifdef CONFIG_NVGPU_CYCLESTATS
|
||||
case NVGPU_DBG_GPU_IOCTL_CYCLE_STATS:
|
||||
err = nvgpu_dbg_gpu_cycle_stats(dbg_s,
|
||||
(struct nvgpu_dbg_gpu_cycle_stats_args *)buf);
|
||||
|
||||
Reference in New Issue
Block a user