summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c10
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index f4a4591d..5e794a55 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -3859,16 +3859,6 @@ u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g)
3859 return pbdma_signature_hw_valid_f() | pbdma_signature_sw_zero_f(); 3859 return pbdma_signature_hw_valid_f() | pbdma_signature_sw_zero_f();
3860} 3860}
3861 3861
3862struct channel_gk20a *gk20a_fifo_channel_from_chid(struct gk20a *g,
3863 u32 chid)
3864{
3865 if (chid != FIFO_INVAL_CHANNEL_ID) {
3866 return g->fifo.channel + chid;
3867 } else {
3868 return NULL;
3869 }
3870}
3871
3872static const char * const ccsr_chan_status_str[] = { 3862static const char * const ccsr_chan_status_str[] = {
3873 "idle", 3863 "idle",
3874 "pending", 3864 "pending",
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index 21922426..2b646a7b 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -293,9 +293,6 @@ void gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g,
293bool gk20a_fifo_error_tsg(struct gk20a *g, struct tsg_gk20a *tsg); 293bool gk20a_fifo_error_tsg(struct gk20a *g, struct tsg_gk20a *tsg);
294bool gk20a_fifo_error_ch(struct gk20a *g, struct channel_gk20a *refch); 294bool gk20a_fifo_error_ch(struct gk20a *g, struct channel_gk20a *refch);
295 295
296struct channel_gk20a *gk20a_fifo_channel_from_chid(struct gk20a *g,
297 u32 chid);
298
299void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg); 296void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg);
300int gk20a_fifo_set_runlist_interleave(struct gk20a *g, 297int gk20a_fifo_set_runlist_interleave(struct gk20a *g,
301 u32 id, 298 u32 id,