diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gr_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 702ae97b..2a674feb 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -558,7 +558,7 @@ static int vgpu_gr_alloc_obj_ctx(struct channel_gk20a *c, | |||
558 | } | 558 | } |
559 | 559 | ||
560 | /* allocate patch buffer */ | 560 | /* allocate patch buffer */ |
561 | if (ch_ctx->patch_ctx.mem.pages == NULL) { | 561 | if (ch_ctx->patch_ctx.mem.priv.pages == NULL) { |
562 | err = vgpu_gr_alloc_channel_patch_ctx(g, c); | 562 | err = vgpu_gr_alloc_channel_patch_ctx(g, c); |
563 | if (err) { | 563 | if (err) { |
564 | nvgpu_err(g, "fail to allocate patch buffer"); | 564 | nvgpu_err(g, "fail to allocate patch buffer"); |