diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index ad9ecdfa..99f85b57 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -7895,7 +7895,7 @@ int __gr_gk20a_exec_ctx_ops(struct channel_gk20a *ch, | |||
7895 | } | 7895 | } |
7896 | if (!pm_ctx_ready) { | 7896 | if (!pm_ctx_ready) { |
7897 | /* Make sure ctx buffer was initialized */ | 7897 | /* Make sure ctx buffer was initialized */ |
7898 | if (!ch_ctx->pm_ctx.mem.priv.pages) { | 7898 | if (!nvgpu_mem_is_valid(&ch_ctx->pm_ctx.mem)) { |
7899 | nvgpu_err(g, | 7899 | nvgpu_err(g, |
7900 | "Invalid ctx buffer"); | 7900 | "Invalid ctx buffer"); |
7901 | err = -EINVAL; | 7901 | err = -EINVAL; |