summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index c7479078..e318f002 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -978,8 +978,8 @@ static int gr_gm20b_update_pc_sampling(struct channel_gk20a *c,
978 if (!ch_ctx || !ch_ctx->gr_ctx || c->vpr) 978 if (!ch_ctx || !ch_ctx->gr_ctx || c->vpr)
979 return -EINVAL; 979 return -EINVAL;
980 980
981 ctx_ptr = vmap(ch_ctx->gr_ctx->pages, 981 ctx_ptr = vmap(ch_ctx->gr_ctx->mem.pages,
982 PAGE_ALIGN(ch_ctx->gr_ctx->size) >> PAGE_SHIFT, 982 PAGE_ALIGN(ch_ctx->gr_ctx->mem.size) >> PAGE_SHIFT,
983 0, pgprot_writecombine(PAGE_KERNEL)); 983 0, pgprot_writecombine(PAGE_KERNEL));
984 if (!ctx_ptr) 984 if (!ctx_ptr)
985 return -ENOMEM; 985 return -ENOMEM;