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/gp10b | |
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/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h index 42a647b4..ac53e231 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |||
@@ -16,8 +16,6 @@ | |||
16 | #ifndef _NVGPU_GR_GP10B_H_ | 16 | #ifndef _NVGPU_GR_GP10B_H_ |
17 | #define _NVGPU_GR_GP10B_H_ | 17 | #define _NVGPU_GR_GP10B_H_ |
18 | 18 | ||
19 | #include <linux/version.h> | ||
20 | |||
21 | #include "gk20a/mm_gk20a.h" | 19 | #include "gk20a/mm_gk20a.h" |
22 | 20 | ||
23 | struct gk20a; | 21 | struct gk20a; |
@@ -55,15 +53,9 @@ int gr_gp10b_set_cilp_preempt_pending(struct gk20a *g, | |||
55 | struct gr_t18x { | 53 | struct gr_t18x { |
56 | struct { | 54 | struct { |
57 | u32 preempt_image_size; | 55 | u32 preempt_image_size; |
58 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) | ||
59 | u32 force_preemption_gfxp; | ||
60 | u32 force_preemption_cilp; | ||
61 | u32 dump_ctxsw_stats_on_channel_close; | ||
62 | #else | ||
63 | bool force_preemption_gfxp; | 56 | bool force_preemption_gfxp; |
64 | bool force_preemption_cilp; | 57 | bool force_preemption_cilp; |
65 | bool dump_ctxsw_stats_on_channel_close; | 58 | bool dump_ctxsw_stats_on_channel_close; |
66 | #endif | ||
67 | } ctx_vars; | 59 | } ctx_vars; |
68 | 60 | ||
69 | u32 fecs_feature_override_ecc_val; | 61 | u32 fecs_feature_override_ecc_val; |