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/gk20a/gk20a.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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 50f827a9..cc62865c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1342,7 +1342,7 @@ struct gk20a { | |||
1342 | 1342 | ||
1343 | u64 dma_memory_used; | 1343 | u64 dma_memory_used; |
1344 | 1344 | ||
1345 | #if defined(CONFIG_TEGRA_GK20A_NVHOST) && defined(CONFIG_TEGRA_19x_GPU) | 1345 | #if defined(CONFIG_TEGRA_GK20A_NVHOST) |
1346 | u64 syncpt_unit_base; | 1346 | u64 syncpt_unit_base; |
1347 | size_t syncpt_unit_size; | 1347 | size_t syncpt_unit_size; |
1348 | u32 syncpt_size; | 1348 | u32 syncpt_size; |
@@ -1479,6 +1479,8 @@ int gk20a_wait_for_idle(struct gk20a *g); | |||
1479 | #define NVGPU_GPUID_GP10B 0x0000013B | 1479 | #define NVGPU_GPUID_GP10B 0x0000013B |
1480 | #define NVGPU_GPUID_GP104 0x00000134 | 1480 | #define NVGPU_GPUID_GP104 0x00000134 |
1481 | #define NVGPU_GPUID_GP106 0x00000136 | 1481 | #define NVGPU_GPUID_GP106 0x00000136 |
1482 | #define NVGPU_GPUID_GV11B 0x0000015B | ||
1483 | #define NVGPU_GPUID_GV100 0x00000140 | ||
1482 | 1484 | ||
1483 | int gk20a_init_gpu_characteristics(struct gk20a *g); | 1485 | int gk20a_init_gpu_characteristics(struct gk20a *g); |
1484 | 1486 | ||