diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h index 2168cb4f..438002e4 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -28,9 +28,6 @@ | |||
28 | 28 | ||
29 | #include "gr_gk20a.h" | 29 | #include "gr_gk20a.h" |
30 | 30 | ||
31 | #ifdef CONFIG_TEGRA_19x_GPU | ||
32 | #include "tsg_t19x.h" | ||
33 | #endif | ||
34 | #define NVGPU_INVALID_TSG_ID (-1) | 31 | #define NVGPU_INVALID_TSG_ID (-1) |
35 | 32 | ||
36 | struct channel_gk20a; | 33 | struct channel_gk20a; |
@@ -68,9 +65,9 @@ struct tsg_gk20a { | |||
68 | u32 runlist_id; | 65 | u32 runlist_id; |
69 | pid_t tgid; | 66 | pid_t tgid; |
70 | struct nvgpu_mem *eng_method_buffers; | 67 | struct nvgpu_mem *eng_method_buffers; |
71 | #ifdef CONFIG_TEGRA_19x_GPU | 68 | u32 num_active_tpcs; |
72 | struct tsg_t19x t19x; | 69 | u8 tpc_pg_enabled; |
73 | #endif | 70 | bool tpc_num_initialized; |
74 | 71 | ||
75 | struct nvgpu_gr_ctx gr_ctx; | 72 | struct nvgpu_gr_ctx gr_ctx; |
76 | }; | 73 | }; |