summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/channel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/channel.h b/drivers/gpu/nvgpu/include/nvgpu/channel.h
index 1851b9e2..0a956c66 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/channel.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/channel.h
@@ -298,6 +298,8 @@ struct channel_gk20a {
298 298
299 struct nvgpu_mem ctx_header; 299 struct nvgpu_mem ctx_header;
300 300
301 struct nvgpu_spinlock ch_timedout_lock;
302 bool ch_timedout;
301 /* Any operating system specific data. */ 303 /* Any operating system specific data. */
302 void *os_priv; 304 void *os_priv;
303 305
@@ -313,7 +315,6 @@ struct channel_gk20a {
313 u32 runlist_id; 315 u32 runlist_id;
314 316
315 bool mmu_nack_handled; 317 bool mmu_nack_handled;
316 bool has_timedout;
317 bool referenceable; 318 bool referenceable;
318 bool vpr; 319 bool vpr;
319 bool deterministic; 320 bool deterministic;
@@ -464,4 +465,7 @@ static inline void trace_write_pushbuffers(struct channel_gk20a *c, u32 count)
464} 465}
465#endif 466#endif
466 467
468void gk20a_channel_set_timedout(struct channel_gk20a *ch);
469bool gk20a_channel_check_timedout(struct channel_gk20a *ch);
470
467#endif 471#endif