diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-01-17 15:39:13 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-23 01:20:15 -0500 |
commit | f3f14cdff53f4b936e2505d44aad6e3bca143056 (patch) | |
tree | 8d6438132b8ca429758d18142c5f569f60f2bc35 /drivers/gpu/nvgpu/common/linux/os_linux.h | |
parent | 193a2ed38ca51d898ac811820ab86237c84e18eb (diff) |
gpu: nvgpu: Fold T19x code back to main code paths
Lots of code paths were split to T19x specific code paths and structs
due to split repository. Now that repositories are merged, fold all of
them back to main code paths and structs and remove the T19x specific
Kconfig flag.
Change-Id: Id0d17a5f0610fc0b49f51ab6664e716dc8b222b6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1640606
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/os_linux.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/os_linux.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/os_linux.h b/drivers/gpu/nvgpu/common/linux/os_linux.h index 9b95ed84..a2181c05 100644 --- a/drivers/gpu/nvgpu/common/linux/os_linux.h +++ b/drivers/gpu/nvgpu/common/linux/os_linux.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -20,9 +20,6 @@ | |||
20 | #include <linux/cdev.h> | 20 | #include <linux/cdev.h> |
21 | #include <linux/iommu.h> | 21 | #include <linux/iommu.h> |
22 | 22 | ||
23 | #ifdef CONFIG_TEGRA_19x_GPU | ||
24 | #include <nvgpu/linux/os_linux_t19x.h> | ||
25 | #endif | ||
26 | #include "gk20a/gk20a.h" | 23 | #include "gk20a/gk20a.h" |
27 | #include "cde.h" | 24 | #include "cde.h" |
28 | #include "sched.h" | 25 | #include "sched.h" |
@@ -114,9 +111,8 @@ struct nvgpu_os_linux { | |||
114 | void __iomem *bar1; | 111 | void __iomem *bar1; |
115 | void __iomem *bar1_saved; | 112 | void __iomem *bar1_saved; |
116 | 113 | ||
117 | #ifdef CONFIG_TEGRA_19x_GPU | 114 | void __iomem *usermode_regs; |
118 | struct nvgpu_os_linux_t19x t19x; | 115 | void __iomem *usermode_regs_saved; |
119 | #endif | ||
120 | 116 | ||
121 | struct nvgpu_os_linux_ops ops; | 117 | struct nvgpu_os_linux_ops ops; |
122 | 118 | ||