diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-08-22 11:31:32 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-22 15:44:41 -0400 |
commit | bc87e8989ddf2f74ff2c988a25e4a81e559a5c30 (patch) | |
tree | b8c45cecf50e3e3bb8967952de9f5047de60683f /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 587666bd6cbb60e52698052c2b5c4a74f2165ecd (diff) |
gpu: nvgpu: Remove support for old kernel version
Remove support for pre-4.4 kernels. This allows deleting the checks
for kernel version, and usage of linux/version.h.
Change-Id: I4d6cb30512ea164d27549f4f4d096e5931bb1379
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1543499
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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 8f097cac..5efa846d 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1086,11 +1086,7 @@ struct gk20a { | |||
1086 | struct railgate_stats pstats; | 1086 | struct railgate_stats pstats; |
1087 | #endif | 1087 | #endif |
1088 | u32 gr_idle_timeout_default; | 1088 | u32 gr_idle_timeout_default; |
1089 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) | ||
1090 | u32 timeouts_enabled; | ||
1091 | #else | ||
1092 | bool timeouts_enabled; | 1089 | bool timeouts_enabled; |
1093 | #endif | ||
1094 | unsigned int ch_wdt_timeout_ms; | 1090 | unsigned int ch_wdt_timeout_ms; |
1095 | 1091 | ||
1096 | struct nvgpu_mutex poweron_lock; | 1092 | struct nvgpu_mutex poweron_lock; |
@@ -1102,11 +1098,7 @@ struct gk20a { | |||
1102 | u32 timeslice_high_priority_us; | 1098 | u32 timeslice_high_priority_us; |
1103 | u32 min_timeslice_us; | 1099 | u32 min_timeslice_us; |
1104 | u32 max_timeslice_us; | 1100 | u32 max_timeslice_us; |
1105 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) | ||
1106 | u32 runlist_interleave; | ||
1107 | #else | ||
1108 | bool runlist_interleave; | 1101 | bool runlist_interleave; |
1109 | #endif | ||
1110 | 1102 | ||
1111 | bool slcg_enabled; | 1103 | bool slcg_enabled; |
1112 | bool blcg_enabled; | 1104 | bool blcg_enabled; |