summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index 7e919346..6537b00f 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -227,7 +227,7 @@ int gk20a_init_fifo_setup_hw(struct gk20a *g);
227void gk20a_fifo_isr(struct gk20a *g); 227void gk20a_fifo_isr(struct gk20a *g);
228int gk20a_fifo_nonstall_isr(struct gk20a *g); 228int gk20a_fifo_nonstall_isr(struct gk20a *g);
229 229
230int gk20a_fifo_preempt_channel(struct gk20a *g, u32 hw_chid); 230int gk20a_fifo_preempt_channel(struct gk20a *g, u32 chid);
231int gk20a_fifo_preempt_tsg(struct gk20a *g, u32 tsgid); 231int gk20a_fifo_preempt_tsg(struct gk20a *g, u32 tsgid);
232int gk20a_fifo_preempt(struct gk20a *g, struct channel_gk20a *ch); 232int gk20a_fifo_preempt(struct gk20a *g, struct channel_gk20a *ch);
233 233
@@ -239,9 +239,9 @@ int gk20a_fifo_disable_engine_activity(struct gk20a *g,
239 bool wait_for_idle); 239 bool wait_for_idle);
240int gk20a_fifo_disable_all_engine_activity(struct gk20a *g, 240int gk20a_fifo_disable_all_engine_activity(struct gk20a *g,
241 bool wait_for_idle); 241 bool wait_for_idle);
242u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 hw_chid); 242u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 chid);
243 243
244int gk20a_fifo_update_runlist(struct gk20a *g, u32 engine_id, u32 hw_chid, 244int gk20a_fifo_update_runlist(struct gk20a *g, u32 engine_id, u32 chid,
245 bool add, bool wait_for_finish); 245 bool add, bool wait_for_finish);
246 246
247int gk20a_fifo_suspend(struct gk20a *g); 247int gk20a_fifo_suspend(struct gk20a *g);
@@ -253,7 +253,7 @@ void gk20a_fifo_recover(struct gk20a *g,
253 u32 hw_id, /* if ~0, will be queried from HW */ 253 u32 hw_id, /* if ~0, will be queried from HW */
254 bool hw_id_is_tsg, /* ignored if hw_id == ~0 */ 254 bool hw_id_is_tsg, /* ignored if hw_id == ~0 */
255 bool id_is_known, bool verbose); 255 bool id_is_known, bool verbose);
256void gk20a_fifo_recover_ch(struct gk20a *g, u32 hw_chid, bool verbose); 256void gk20a_fifo_recover_ch(struct gk20a *g, u32 chid, bool verbose);
257void gk20a_fifo_recover_tsg(struct gk20a *g, u32 tsgid, bool verbose); 257void gk20a_fifo_recover_tsg(struct gk20a *g, u32 tsgid, bool verbose);
258int gk20a_fifo_force_reset_ch(struct channel_gk20a *ch, 258int gk20a_fifo_force_reset_ch(struct channel_gk20a *ch,
259 u32 err_code, bool verbose); 259 u32 err_code, bool verbose);
@@ -277,8 +277,8 @@ void gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g,
277bool gk20a_fifo_error_tsg(struct gk20a *g, struct tsg_gk20a *tsg); 277bool gk20a_fifo_error_tsg(struct gk20a *g, struct tsg_gk20a *tsg);
278bool gk20a_fifo_error_ch(struct gk20a *g, struct channel_gk20a *refch); 278bool gk20a_fifo_error_ch(struct gk20a *g, struct channel_gk20a *refch);
279 279
280struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g, 280struct channel_gk20a *gk20a_fifo_channel_from_chid(struct gk20a *g,
281 u32 hw_chid); 281 u32 chid);
282 282
283void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg); 283void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg);
284int gk20a_fifo_set_runlist_interleave(struct gk20a *g, 284int gk20a_fifo_set_runlist_interleave(struct gk20a *g,
@@ -316,7 +316,7 @@ u32 gk20a_fifo_get_gr_runlist_id(struct gk20a *g);
316 316
317bool gk20a_fifo_is_valid_runlist_id(struct gk20a *g, u32 runlist_id); 317bool gk20a_fifo_is_valid_runlist_id(struct gk20a *g, u32 runlist_id);
318 318
319int gk20a_fifo_update_runlist_ids(struct gk20a *g, u32 runlist_ids, u32 hw_chid, 319int gk20a_fifo_update_runlist_ids(struct gk20a *g, u32 runlist_ids, u32 chid,
320 bool add, bool wait_for_finish); 320 bool add, bool wait_for_finish);
321 321
322int gk20a_fifo_init_engine_info(struct fifo_gk20a *f); 322int gk20a_fifo_init_engine_info(struct fifo_gk20a *f);
@@ -339,7 +339,7 @@ void gk20a_fifo_profile_release(struct gk20a *g,
339 339
340void gk20a_dump_channel_status_ramfc(struct gk20a *g, 340void gk20a_dump_channel_status_ramfc(struct gk20a *g,
341 struct gk20a_debug_output *o, 341 struct gk20a_debug_output *o,
342 u32 hw_chid, 342 u32 chid,
343 struct ch_state *ch_state); 343 struct ch_state *ch_state);
344void gk20a_debug_dump_all_channel_status_ramfc(struct gk20a *g, 344void gk20a_debug_dump_all_channel_status_ramfc(struct gk20a *g,
345 struct gk20a_debug_output *o); 345 struct gk20a_debug_output *o);