From d4586cc3ab132fd03dce731e1e053bd70d9122cf Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Wed, 9 Apr 2014 14:50:43 +0300 Subject: gpu: nvgpu: Alloc physical mem for CBC in sim CBC frontdoor access works incorrectly in the simulator if CBC is allocated from IOVA. This patch makes CBC allocation to happen from physical memory if are running in simulator. Bug 1409151 Change-Id: Ia1d1ca35b5a0375f4707824df3ef06ad1b9117d4 Signed-off-by: Arto Merilainen --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index cdbab138..d583849d 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h @@ -156,7 +156,7 @@ struct gr_ctx_desc { }; struct compbit_store_desc { - struct pages **pages; + struct page **pages; size_t size; u64 base_iova; }; -- cgit v1.2.2