void host1x_debug_dump_syncpts(struct host1x *host1x) { struct output o = { .fn = write_to_printk }; show_syncpts(host1x, &o); }
static void show_all(struct nvhost_master *m, struct output *o) { nvhost_module_busy(m->dev); m->op.debug.show_mlocks(m, o); show_syncpts(m, o); show_channels(m, o); nvhost_module_idle(m->dev); }
static void show_all_no_fifo(struct host1x *host1x, struct output *o) { struct host1x_channel *ch; host1x_hw_show_mlocks(host1x, o); show_syncpts(host1x, o); host1x_debug_output(o, "---- channels ----\n"); host1x_for_each_channel(host1x, ch) show_channels(ch, o, false); }
static void show_all(struct host1x *m, struct output *o) { struct host1x_channel *ch; host1x_hw_show_mlocks(m, o); show_syncpts(m, o); host1x_debug_output(o, "---- channels ----\n"); host1x_for_each_channel(m, ch) show_channels(ch, o, true); }
static void show_all_no_fifo(struct nvhost_master *m, struct output *o) { nvhost_module_busy(m->dev); nvhost_get_chip_ops()->debug.show_mlocks(m, o); show_syncpts(m, o); nvhost_debug_output(o, "---- channels ----\n"); nvhost_device_list_for_all(o, show_channels_no_fifo); nvhost_module_idle(m->dev); }
static void show_all_no_fifo(struct nvhost_master *m, struct output *o) { nvhost_module_busy(m->dev); nvhost_get_chip_ops()->debug.show_mlocks(m, o); show_syncpts(m, o); nvhost_debug_output(o, "---- channels ----\n"); bus_for_each_dev(&(nvhost_bus_get())->nvhost_bus_type, NULL, o, show_channels_no_fifo); nvhost_module_idle(m->dev); }
static void show_all(struct host1x *m, struct output *o, bool show_fifo) { int i; host1x_hw_show_mlocks(m, o); show_syncpts(m, o); host1x_debug_output(o, "---- channels ----\n"); for (i = 0; i < m->info->nb_channels; ++i) { struct host1x_channel *ch = host1x_channel_get_index(m, i); if (ch) { show_channel(ch, o, show_fifo); host1x_channel_put(ch); } } }