summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-07-06 19:19:42 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-07 10:05:39 -0400
commit6065b8c3ac17497d6ed8382a8503f55ec07c8865 (patch)
treeefb0999a9bc13f12d096e57b5b25d4a61c861cbe /drivers/gpu/nvgpu/include
parent40c19c67d043e750cec4a8c33695e8cbe01bd639 (diff)
gpu: nvgpu: Add t19x GMMU attributes
Add t19x specific flags into the GMMU attributes struct. Jira GPUT19X-10 Bug 200279508 Change-Id: Ib45b83705fa1ca4ff6d14da0a2f132050e7d2cd5 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master/r/1514876 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Tested-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gmmu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
index 47af2f75..92e5eb5f 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
@@ -23,6 +23,10 @@
23#include <nvgpu/rbtree.h> 23#include <nvgpu/rbtree.h>
24#include <nvgpu/lock.h> 24#include <nvgpu/lock.h>
25 25
26#ifdef CONFIG_TEGRA_19x_GPU
27#include <nvgpu/gmmu_t19x.h>
28#endif
29
26struct scatterlist; 30struct scatterlist;
27 31
28/* 32/*
@@ -171,6 +175,10 @@ struct nvgpu_gmmu_attrs {
171 bool valid; 175 bool valid;
172 enum nvgpu_aperture aperture; 176 enum nvgpu_aperture aperture;
173 bool debug; 177 bool debug;
178
179#ifdef CONFIG_TEGRA_19x_GPU
180 struct nvgpu_gmmu_attrs_t19x t19x_attrs;
181#endif
174}; 182};
175 183
176struct gk20a_mmu_level { 184struct gk20a_mmu_level {