diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 11490c27..5039f8e3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1541,20 +1541,6 @@ extern struct class nvgpu_class; | |||
1541 | int gk20a_prepare_poweroff(struct gk20a *g); | 1541 | int gk20a_prepare_poweroff(struct gk20a *g); |
1542 | int gk20a_finalize_poweron(struct gk20a *g); | 1542 | int gk20a_finalize_poweron(struct gk20a *g); |
1543 | 1543 | ||
1544 | static inline struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch) | ||
1545 | { | ||
1546 | struct tsg_gk20a *tsg = NULL; | ||
1547 | |||
1548 | if (gk20a_is_channel_marked_as_tsg(ch)) | ||
1549 | { | ||
1550 | struct gk20a *g = ch->g; | ||
1551 | struct fifo_gk20a *f = &g->fifo; | ||
1552 | tsg = &f->tsg[ch->tsgid]; | ||
1553 | } | ||
1554 | |||
1555 | return tsg; | ||
1556 | } | ||
1557 | |||
1558 | static inline void gk20a_channel_trace_sched_param( | 1544 | static inline void gk20a_channel_trace_sched_param( |
1559 | void (*trace)(int chid, int tsgid, pid_t pid, u32 timeslice, | 1545 | void (*trace)(int chid, int tsgid, pid_t pid, u32 timeslice, |
1560 | u32 timeout, const char *interleave, | 1546 | u32 timeout, const char *interleave, |