diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/debug_gk20a.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c index a3fa2ea5..c02e9760 100644 --- a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c | |||
@@ -326,25 +326,6 @@ void gk20a_debug_dump(struct device *dev) | |||
326 | g->ops.debug.show_dump(g, &o); | 326 | g->ops.debug.show_dump(g, &o); |
327 | } | 327 | } |
328 | 328 | ||
329 | void gk20a_debug_dump_device(void *data) | ||
330 | { | ||
331 | struct gk20a_debug_output o = { | ||
332 | .fn = gk20a_debug_write_printk | ||
333 | }; | ||
334 | struct gk20a *g; | ||
335 | struct device *dev = data; | ||
336 | |||
337 | /* In pre-silicon we don't need full spew on stuck syncpoint */ | ||
338 | if (!tegra_platform_is_silicon()) | ||
339 | return; | ||
340 | |||
341 | g = gk20a_from_dev(dev); | ||
342 | /* HAL only initialized after 1st power-on */ | ||
343 | if (g->ops.debug.show_dump) | ||
344 | g->ops.debug.show_dump(g, &o); | ||
345 | } | ||
346 | EXPORT_SYMBOL(gk20a_debug_dump_device); | ||
347 | |||
348 | static int gk20a_debug_show(struct seq_file *s, void *unused) | 329 | static int gk20a_debug_show(struct seq_file *s, void *unused) |
349 | { | 330 | { |
350 | struct device *dev = s->private; | 331 | struct device *dev = s->private; |