diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/cde.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c index 8a15b82a..1ada0793 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.c +++ b/drivers/gpu/nvgpu/common/linux/cde.c | |||
@@ -442,8 +442,11 @@ static int gk20a_cde_patch_params(struct gk20a_cde_ctx *cde_ctx) | |||
442 | case TYPE_PARAM_SOURCE_SMMU_ADDR: | 442 | case TYPE_PARAM_SOURCE_SMMU_ADDR: |
443 | new_data = gpuva_to_iova_base(cde_ctx->vm, | 443 | new_data = gpuva_to_iova_base(cde_ctx->vm, |
444 | cde_ctx->surf_vaddr); | 444 | cde_ctx->surf_vaddr); |
445 | if (new_data == 0) | 445 | if (new_data == 0) { |
446 | nvgpu_warn(g, "cde: failed to find 0x%llx", | ||
447 | cde_ctx->surf_vaddr); | ||
446 | return -EINVAL; | 448 | return -EINVAL; |
449 | } | ||
447 | break; | 450 | break; |
448 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: | 451 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: |
449 | new_data = g->gr.compbit_store.base_hw; | 452 | new_data = g->gr.compbit_store.base_hw; |