From 6065b8c3ac17497d6ed8382a8503f55ec07c8865 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 6 Jul 2017 16:19:42 -0700 Subject: 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 Reviewed-on: https://git-master/r/1514876 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade Tested-by: Deepak Nibade Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/include/nvgpu/gmmu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/gpu/nvgpu/include') 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 @@ #include #include +#ifdef CONFIG_TEGRA_19x_GPU +#include +#endif + struct scatterlist; /* @@ -171,6 +175,10 @@ struct nvgpu_gmmu_attrs { bool valid; enum nvgpu_aperture aperture; bool debug; + +#ifdef CONFIG_TEGRA_19x_GPU + struct nvgpu_gmmu_attrs_t19x t19x_attrs; +#endif }; struct gk20a_mmu_level { -- cgit v1.2.2