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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index cf3ac167..bccd15f6 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -349,6 +349,21 @@ bool gk20a_is_fault_engine_subid_gpc(struct gk20a *g, u32 engine_subid);
349struct fifo_profile_gk20a *gk20a_fifo_profile_acquire(struct gk20a *g); 349struct fifo_profile_gk20a *gk20a_fifo_profile_acquire(struct gk20a *g);
350void gk20a_fifo_profile_release(struct gk20a *g, 350void gk20a_fifo_profile_release(struct gk20a *g,
351 struct fifo_profile_gk20a *profile); 351 struct fifo_profile_gk20a *profile);
352void gk20a_fifo_profile_snapshot(struct fifo_profile_gk20a *profile, int idx);
353#else
354static inline struct fifo_profile_gk20a *
355gk20a_fifo_profile_acquire(struct gk20a *g)
356{
357 return NULL;
358}
359static inline void gk20a_fifo_profile_release(struct gk20a *g,
360 struct fifo_profile_gk20a *profile)
361{
362}
363static inline void gk20a_fifo_profile_snapshot(
364 struct fifo_profile_gk20a *profile, int idx)
365{
366}
352#endif 367#endif
353 368
354void gk20a_dump_channel_status_ramfc(struct gk20a *g, 369void gk20a_dump_channel_status_ramfc(struct gk20a *g,