diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c index 408bbc64..aeed07ce 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |||
@@ -1091,7 +1091,8 @@ static int nvgpu_dbg_gpu_ioctl_set_mmu_debug_mode( | |||
1091 | return -EINVAL; | 1091 | return -EINVAL; |
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | if (g->ops.gr.set_mmu_debug_mode == NULL) { | 1094 | if ((g->ops.fb.set_mmu_debug_mode == NULL) && |
1095 | (g->ops.gr.set_mmu_debug_mode == NULL)) { | ||
1095 | return -ENOSYS; | 1096 | return -ENOSYS; |
1096 | } | 1097 | } |
1097 | 1098 | ||