diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2015-10-09 06:36:08 -0400 |
---|---|---|
committer | Konsta Holtta <kholtta@nvidia.com> | 2015-11-11 02:19:45 -0500 |
commit | 411c3a9a4f7451a8f6fe3b533bfd77d3f46f7387 (patch) | |
tree | 1f27481b796e139f7ecb67375b3af55719b10c6a /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 84523485399e29abeb4e89c064b4591985aeea91 (diff) |
gpu: nvgpu: use a separate big vm for cde
Allocate a separate VM for CDE channels instead of using the system
(PMU) vm, and make it much bigger than the PMU's to fit the maximum
number of CDE channels there.
Bug 1566740
Change-Id: I4f487c40c9ec79cc9ffb880b0ecd3f47eb450336
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/815149
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 9e373d8e..7bbaf283 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -318,6 +318,9 @@ struct mm_gk20a { | |||
318 | struct mem_desc inst_block; | 318 | struct mem_desc inst_block; |
319 | } hwpm; | 319 | } hwpm; |
320 | 320 | ||
321 | struct { | ||
322 | struct vm_gk20a vm; | ||
323 | } cde; | ||
321 | 324 | ||
322 | struct mutex l2_op_lock; | 325 | struct mutex l2_op_lock; |
323 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | 326 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC |