diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 8b3d0dfa..6b8af929 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -399,7 +399,7 @@ static int gk20a_cde_patch_params(struct gk20a_cde_ctx *cde_ctx) | |||
399 | new_data = gk20a_mm_gpuva_to_iova_base(cde_ctx->vm, | 399 | new_data = gk20a_mm_gpuva_to_iova_base(cde_ctx->vm, |
400 | cde_ctx->surf_vaddr); | 400 | cde_ctx->surf_vaddr); |
401 | if (new_data == 0) | 401 | if (new_data == 0) |
402 | err = -EINVAL; | 402 | return -EINVAL; |
403 | break; | 403 | break; |
404 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: | 404 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: |
405 | new_data = g->gr.compbit_store.base_hw; | 405 | new_data = g->gr.compbit_store.base_hw; |