diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/regops_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/regops_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c index a9c7fdfd..fda480cf 100644 --- a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c | |||
@@ -400,7 +400,7 @@ int exec_regops_gk20a(struct dbg_session_gk20a *dbg_s, | |||
400 | * regops implementation, so we return -ENOSYS. This will allow | 400 | * regops implementation, so we return -ENOSYS. This will allow |
401 | * compute apps to run with vgpu. Tools will not work in this | 401 | * compute apps to run with vgpu. Tools will not work in this |
402 | * configuration and are not required to work at this time. */ | 402 | * configuration and are not required to work at this time. */ |
403 | if (gk20a_gpu_is_virtual(dbg_s->pdev)) | 403 | if (gk20a_gpu_is_virtual(dbg_s->dev)) |
404 | return -ENOSYS; | 404 | return -ENOSYS; |
405 | 405 | ||
406 | ok = validate_reg_ops(dbg_s, | 406 | ok = validate_reg_ops(dbg_s, |