summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nvgpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index b85ca7b6..446f5bd3 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -1286,8 +1286,12 @@ struct nvgpu_dbg_gpu_set_next_stop_trigger_type_args {
1286 1286
1287 1287
1288/* PM Context Switch Mode */ 1288/* PM Context Switch Mode */
1289/*This mode says that the pms are not to be context switched. */
1289#define NVGPU_DBG_GPU_HWPM_CTXSW_MODE_NO_CTXSW (0x00000000) 1290#define NVGPU_DBG_GPU_HWPM_CTXSW_MODE_NO_CTXSW (0x00000000)
1291/* This mode says that the pms in Mode-B are to be context switched */
1290#define NVGPU_DBG_GPU_HWPM_CTXSW_MODE_CTXSW (0x00000001) 1292#define NVGPU_DBG_GPU_HWPM_CTXSW_MODE_CTXSW (0x00000001)
1293/* This mode says that the pms in Mode-E (stream out) are to be context switched. */
1294#define NVGPU_DBG_GPU_HWPM_CTXSW_MODE_STREAM_OUT_CTXSW (0x00000002)
1291 1295
1292struct nvgpu_dbg_gpu_hwpm_ctxsw_mode_args { 1296struct nvgpu_dbg_gpu_hwpm_ctxsw_mode_args {
1293 __u32 mode; 1297 __u32 mode;