diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2014-04-09 07:50:43 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:05 -0400 |
commit | d4586cc3ab132fd03dce731e1e053bd70d9122cf (patch) | |
tree | 47e340280b4d89a6e833661e01491d5721cbbc3e /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 3eedb0256d0fd1f2a26a9609d2c2e7baf8240306 (diff) |
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 <amerilainen@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
156 | }; | 156 | }; |
157 | 157 | ||
158 | struct compbit_store_desc { | 158 | struct compbit_store_desc { |
159 | struct pages **pages; | 159 | struct page **pages; |
160 | size_t size; | 160 | size_t size; |
161 | u64 base_iova; | 161 | u64 base_iova; |
162 | }; | 162 | }; |