diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c index c3cb0f4c..bf28ed1e 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | |||
@@ -837,6 +837,10 @@ static int nvgpu_dbg_gpu_ioctl_write_single_sm_error_state( | |||
837 | struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_state; | 837 | struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_state; |
838 | int err = 0; | 838 | int err = 0; |
839 | 839 | ||
840 | /* Not currently supported in the virtual case */ | ||
841 | if (g->is_virtual) | ||
842 | return -ENOSYS; | ||
843 | |||
840 | ch = nvgpu_dbg_gpu_get_session_channel(dbg_s); | 844 | ch = nvgpu_dbg_gpu_get_session_channel(dbg_s); |
841 | if (!ch) | 845 | if (!ch) |
842 | return -EINVAL; | 846 | return -EINVAL; |