diff options
Diffstat (limited to 'drivers/gpu')
-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 57707f54..24e2a778 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -795,7 +795,7 @@ int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx) | |||
795 | /* map backing store to gpu virtual space */ | 795 | /* map backing store to gpu virtual space */ |
796 | vaddr = gk20a_gmmu_map(ch->vm, &gr->compbit_store.sgt, | 796 | vaddr = gk20a_gmmu_map(ch->vm, &gr->compbit_store.sgt, |
797 | g->gr.compbit_store.size, 0, | 797 | g->gr.compbit_store.size, 0, |
798 | gk20a_mem_flag_none); | 798 | gk20a_mem_flag_read_only); |
799 | 799 | ||
800 | if (!vaddr) { | 800 | if (!vaddr) { |
801 | gk20a_warn(&cde_ctx->pdev->dev, "cde: cannot map compression bit backing store"); | 801 | gk20a_warn(&cde_ctx->pdev->dev, "cde: cannot map compression bit backing store"); |