diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h index d9d07844..50002557 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | |||
@@ -135,4 +135,13 @@ int gk20a_perfbuf_disable_locked(struct gk20a *g); | |||
135 | void nvgpu_dbg_session_post_event(struct dbg_session_gk20a *dbg_s); | 135 | void nvgpu_dbg_session_post_event(struct dbg_session_gk20a *dbg_s); |
136 | u32 nvgpu_set_powergate_locked(struct dbg_session_gk20a *dbg_s, | 136 | u32 nvgpu_set_powergate_locked(struct dbg_session_gk20a *dbg_s, |
137 | bool mode); | 137 | bool mode); |
138 | |||
139 | /* PM Context Switch Mode */ | ||
140 | /*This mode says that the pms are not to be context switched. */ | ||
141 | #define NVGPU_DBG_HWPM_CTXSW_MODE_NO_CTXSW (0x00000000) | ||
142 | /* This mode says that the pms in Mode-B are to be context switched */ | ||
143 | #define NVGPU_DBG_HWPM_CTXSW_MODE_CTXSW (0x00000001) | ||
144 | /* This mode says that the pms in Mode-E (stream out) are to be context switched. */ | ||
145 | #define NVGPU_DBG_HWPM_CTXSW_MODE_STREAM_OUT_CTXSW (0x00000002) | ||
146 | |||
138 | #endif /* DBG_GPU_GK20A_H */ | 147 | #endif /* DBG_GPU_GK20A_H */ |