summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h8
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
23struct gk20a; 21struct gk20a;
@@ -55,15 +53,9 @@ int gr_gp10b_set_cilp_preempt_pending(struct gk20a *g,
55struct gr_t18x { 53struct 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;