diff options
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
-rw-r--r-- | drivers/gpu/host1x/debug.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/debug.c b/drivers/gpu/host1x/debug.c index 2aae0e63214c..dc77ec452ffc 100644 --- a/drivers/gpu/host1x/debug.c +++ b/drivers/gpu/host1x/debug.c | |||
@@ -40,7 +40,19 @@ void host1x_debug_output(struct output *o, const char *fmt, ...) | |||
40 | len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); | 40 | len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); |
41 | va_end(args); | 41 | va_end(args); |
42 | 42 | ||
43 | o->fn(o->ctx, o->buf, len); | 43 | o->fn(o->ctx, o->buf, len, false); |
44 | } | ||
45 | |||
46 | void host1x_debug_cont(struct output *o, const char *fmt, ...) | ||
47 | { | ||
48 | va_list args; | ||
49 | int len; | ||
50 | |||
51 | va_start(args, fmt); | ||
52 | len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); | ||
53 | va_end(args); | ||
54 | |||
55 | o->fn(o->ctx, o->buf, len, true); | ||
44 | } | 56 | } |
45 | 57 | ||
46 | static int show_channel(struct host1x_channel *ch, void *data, bool show_fifo) | 58 | static int show_channel(struct host1x_channel *ch, void *data, bool show_fifo) |