From 411c3a9a4f7451a8f6fe3b533bfd77d3f46f7387 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 9 Oct 2015 13:36:08 +0300 Subject: 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 Reviewed-on: http://git-master/r/815149 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 3 +++ 1 file changed, 3 insertions(+) (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 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 { struct mem_desc inst_block; } hwpm; + struct { + struct vm_gk20a vm; + } cde; struct mutex l2_op_lock; #ifdef CONFIG_ARCH_TEGRA_18x_SOC -- cgit v1.2.2