diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-09 18:12:41 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-17 19:29:41 -0500 |
commit | 9d04e970937657d11620d812c29a5d10828440fc (patch) | |
tree | 78d06a0773317241ddfdc9d2b1bc6c871f3175c7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |
parent | 35ae4194a05d47aa6d79353428f81f2ca47ce90f (diff) |
gpu: nvgpu: Remove separation of t18x code
Remove separation of t18x specific code and fields and the associated
ifdefs. We can build T18x code in always.
Change-Id: I4e8eae9c30335632a2da48b418c6138193831b4f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1595431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h index 45ac5305..55117022 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |||
@@ -145,27 +145,4 @@ int gr_gp10b_set_czf_bypass(struct gk20a *g, struct channel_gk20a *ch); | |||
145 | void gr_gp10b_init_czf_bypass(struct gk20a *g); | 145 | void gr_gp10b_init_czf_bypass(struct gk20a *g); |
146 | void gr_gp10b_init_ctxsw_hdr_data(struct gk20a *g, struct nvgpu_mem *mem); | 146 | void gr_gp10b_init_ctxsw_hdr_data(struct gk20a *g, struct nvgpu_mem *mem); |
147 | 147 | ||
148 | struct gr_t18x { | ||
149 | struct { | ||
150 | u32 preempt_image_size; | ||
151 | bool force_preemption_gfxp; | ||
152 | bool force_preemption_cilp; | ||
153 | bool dump_ctxsw_stats_on_channel_close; | ||
154 | } ctx_vars; | ||
155 | |||
156 | u32 fecs_feature_override_ecc_val; | ||
157 | |||
158 | int cilp_preempt_pending_chid; | ||
159 | }; | ||
160 | |||
161 | struct gr_ctx_desc_t18x { | ||
162 | struct nvgpu_mem preempt_ctxsw_buffer; | ||
163 | struct nvgpu_mem spill_ctxsw_buffer; | ||
164 | struct nvgpu_mem betacb_ctxsw_buffer; | ||
165 | struct nvgpu_mem pagepool_ctxsw_buffer; | ||
166 | u32 ctx_id; | ||
167 | bool ctx_id_valid; | ||
168 | bool cilp_preempt_pending; | ||
169 | }; | ||
170 | |||
171 | #endif | 148 | #endif |