Loading drivers/gpu/msm/adreno_debugfs.c +4 −4 Original line number Diff line number Diff line /* Copyright (c) 2002,2008-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -132,7 +132,7 @@ static void sync_event_print(struct seq_file *s, { switch (sync_event->type) { case KGSL_CMD_SYNCPOINT_TYPE_TIMESTAMP: { seq_printf(s, "sync: ctx: %d ts: %d", seq_printf(s, "sync: ctx: %u ts: %u", sync_event->context->id, sync_event->timestamp); break; } Loading Loading @@ -231,7 +231,7 @@ static void cmdobj_print(struct seq_file *s, else seq_puts(s, " markerobj "); seq_printf(s, "\t %d ", drawobj->timestamp); seq_printf(s, "\t %u ", drawobj->timestamp); seq_puts(s, " priv: "); print_flags(s, cmdobj_priv, ARRAY_SIZE(cmdobj_priv), Loading Loading @@ -276,7 +276,7 @@ static int ctx_print(struct seq_file *s, void *unused) struct kgsl_event *event; unsigned int queued = 0, consumed = 0, retired = 0; seq_printf(s, "id: %d type: %s priority: %d process: %s (%d) tid: %d\n", seq_printf(s, "id: %u type: %s priority: %d process: %s (%d) tid: %d\n", drawctxt->base.id, ctx_type_str(drawctxt->type), drawctxt->base.priority, Loading drivers/gpu/msm/adreno_drawctxt.c +8 −8 Original line number Diff line number Diff line /* Copyright (c) 2002,2007-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -74,13 +74,13 @@ void adreno_drawctxt_dump(struct kgsl_device *device, * deadlock. To prevent this use spin_trylock_bh. */ if (!spin_trylock_bh(&drawctxt->lock)) { dev_err(device->dev, " context[%d]: could not get lock\n", dev_err(device->dev, " context[%u]: could not get lock\n", context->id); return; } dev_err(device->dev, " context[%d]: queue=%d, submit=%d, start=%d, retire=%d\n", " context[%u]: queue=%u, submit=%u, start=%u, retire=%u\n", context->id, queue, drawctxt->submitted_timestamp, start, retire); Loading @@ -90,7 +90,7 @@ void adreno_drawctxt_dump(struct kgsl_device *device, if (test_bit(ADRENO_CONTEXT_FENCE_LOG, &context->priv)) { dev_err(device->dev, " possible deadlock. Context %d might be blocked for itself\n", " possible deadlock. Context %u might be blocked for itself\n", context->id); goto stats; } Loading @@ -103,7 +103,7 @@ void adreno_drawctxt_dump(struct kgsl_device *device, if (kgsl_drawobj_events_pending(syncobj)) { dev_err(device->dev, " context[%d] (ts=%d) Active sync points:\n", " context[%u] (ts=%u) Active sync points:\n", context->id, drawobj->timestamp); kgsl_dump_syncpoints(device, syncobj); Loading @@ -127,10 +127,10 @@ void adreno_drawctxt_dump(struct kgsl_device *device, msecs = drawctxt->submit_retire_ticks[index] * 10; usecs = do_div(msecs, 192); usecs = do_div(msecs, 1000); pos += snprintf(buf + pos, sizeof(buf) - pos, "%d.%0d ", pos += snprintf(buf + pos, sizeof(buf) - pos, "%u.%0u ", (unsigned int)msecs, usecs); } dev_err(device->dev, " context[%d]: submit times: %s\n", dev_err(device->dev, " context[%u]: submit times: %s\n", context->id, buf); spin_unlock_bh(&drawctxt->lock); Loading Loading @@ -534,7 +534,7 @@ void adreno_drawctxt_detach(struct kgsl_context *context) */ if (ret && ret != -EAGAIN) { KGSL_DRV_ERR(device, "Wait for global ctx=%d ts=%d type=%d error=%d\n", "Wait for global ctx=%u ts=%u type=%d error=%d\n", drawctxt->base.id, drawctxt->internal_timestamp, drawctxt->type, ret); Loading drivers/gpu/msm/kgsl.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -559,7 +559,7 @@ void kgsl_context_dump(struct kgsl_context *context) device = context->device; if (kgsl_context_detached(context)) { dev_err(device->dev, " context[%d]: context detached\n", dev_err(device->dev, " context[%u]: context detached\n", context->id); } else if (device->ftbl->drawctxt_dump != NULL) device->ftbl->drawctxt_dump(device, context); Loading drivers/gpu/msm/kgsl_drawobj.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -101,7 +101,7 @@ void kgsl_dump_syncpoints(struct kgsl_device *device, &retired); dev_err(device->dev, " [timestamp] context %d timestamp %d (retired %d)\n", " [timestamp] context %u timestamp %u (retired %u)\n", event->context->id, event->timestamp, retired); break; Loading Loading @@ -143,7 +143,7 @@ static void syncobj_timer(unsigned long data) device = drawobj->context->device; dev_err(device->dev, "kgsl: possible gpu syncpoint deadlock for context %d timestamp %d\n", "kgsl: possible gpu syncpoint deadlock for context %u timestamp %u\n", drawobj->context->id, drawobj->timestamp); set_bit(ADRENO_CONTEXT_FENCE_LOG, &drawobj->context->priv); Loading @@ -160,7 +160,7 @@ static void syncobj_timer(unsigned long data) switch (event->type) { case KGSL_CMD_SYNCPOINT_TYPE_TIMESTAMP: dev_err(device->dev, " [%d] TIMESTAMP %d:%d\n", dev_err(device->dev, " [%u] TIMESTAMP %u:%u\n", i, event->context->id, event->timestamp); break; case KGSL_CMD_SYNCPOINT_TYPE_FENCE: { Loading @@ -168,7 +168,7 @@ static void syncobj_timer(unsigned long data) struct event_fence_info *info = &event->info; for (j = 0; j < info->num_fences; j++) dev_err(device->dev, " [%d] FENCE %s\n", dev_err(device->dev, " [%u] FENCE %s\n", i, info->fences[j].name); break; } Loading drivers/gpu/msm/kgsl_events.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -390,7 +390,7 @@ static void events_debugfs_print_group(struct seq_file *s, group->readtimestamp(event->device, group->priv, KGSL_TIMESTAMP_RETIRED, &retired); seq_printf(s, "\t%d:%d age=%lu func=%ps [retired=%d]\n", seq_printf(s, "\t%u:%u age=%lu func=%ps [retired=%u]\n", group->context ? group->context->id : KGSL_MEMSTORE_GLOBAL, event->timestamp, jiffies - event->created, Loading Loading
drivers/gpu/msm/adreno_debugfs.c +4 −4 Original line number Diff line number Diff line /* Copyright (c) 2002,2008-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -132,7 +132,7 @@ static void sync_event_print(struct seq_file *s, { switch (sync_event->type) { case KGSL_CMD_SYNCPOINT_TYPE_TIMESTAMP: { seq_printf(s, "sync: ctx: %d ts: %d", seq_printf(s, "sync: ctx: %u ts: %u", sync_event->context->id, sync_event->timestamp); break; } Loading Loading @@ -231,7 +231,7 @@ static void cmdobj_print(struct seq_file *s, else seq_puts(s, " markerobj "); seq_printf(s, "\t %d ", drawobj->timestamp); seq_printf(s, "\t %u ", drawobj->timestamp); seq_puts(s, " priv: "); print_flags(s, cmdobj_priv, ARRAY_SIZE(cmdobj_priv), Loading Loading @@ -276,7 +276,7 @@ static int ctx_print(struct seq_file *s, void *unused) struct kgsl_event *event; unsigned int queued = 0, consumed = 0, retired = 0; seq_printf(s, "id: %d type: %s priority: %d process: %s (%d) tid: %d\n", seq_printf(s, "id: %u type: %s priority: %d process: %s (%d) tid: %d\n", drawctxt->base.id, ctx_type_str(drawctxt->type), drawctxt->base.priority, Loading
drivers/gpu/msm/adreno_drawctxt.c +8 −8 Original line number Diff line number Diff line /* Copyright (c) 2002,2007-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -74,13 +74,13 @@ void adreno_drawctxt_dump(struct kgsl_device *device, * deadlock. To prevent this use spin_trylock_bh. */ if (!spin_trylock_bh(&drawctxt->lock)) { dev_err(device->dev, " context[%d]: could not get lock\n", dev_err(device->dev, " context[%u]: could not get lock\n", context->id); return; } dev_err(device->dev, " context[%d]: queue=%d, submit=%d, start=%d, retire=%d\n", " context[%u]: queue=%u, submit=%u, start=%u, retire=%u\n", context->id, queue, drawctxt->submitted_timestamp, start, retire); Loading @@ -90,7 +90,7 @@ void adreno_drawctxt_dump(struct kgsl_device *device, if (test_bit(ADRENO_CONTEXT_FENCE_LOG, &context->priv)) { dev_err(device->dev, " possible deadlock. Context %d might be blocked for itself\n", " possible deadlock. Context %u might be blocked for itself\n", context->id); goto stats; } Loading @@ -103,7 +103,7 @@ void adreno_drawctxt_dump(struct kgsl_device *device, if (kgsl_drawobj_events_pending(syncobj)) { dev_err(device->dev, " context[%d] (ts=%d) Active sync points:\n", " context[%u] (ts=%u) Active sync points:\n", context->id, drawobj->timestamp); kgsl_dump_syncpoints(device, syncobj); Loading @@ -127,10 +127,10 @@ void adreno_drawctxt_dump(struct kgsl_device *device, msecs = drawctxt->submit_retire_ticks[index] * 10; usecs = do_div(msecs, 192); usecs = do_div(msecs, 1000); pos += snprintf(buf + pos, sizeof(buf) - pos, "%d.%0d ", pos += snprintf(buf + pos, sizeof(buf) - pos, "%u.%0u ", (unsigned int)msecs, usecs); } dev_err(device->dev, " context[%d]: submit times: %s\n", dev_err(device->dev, " context[%u]: submit times: %s\n", context->id, buf); spin_unlock_bh(&drawctxt->lock); Loading Loading @@ -534,7 +534,7 @@ void adreno_drawctxt_detach(struct kgsl_context *context) */ if (ret && ret != -EAGAIN) { KGSL_DRV_ERR(device, "Wait for global ctx=%d ts=%d type=%d error=%d\n", "Wait for global ctx=%u ts=%u type=%d error=%d\n", drawctxt->base.id, drawctxt->internal_timestamp, drawctxt->type, ret); Loading
drivers/gpu/msm/kgsl.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -559,7 +559,7 @@ void kgsl_context_dump(struct kgsl_context *context) device = context->device; if (kgsl_context_detached(context)) { dev_err(device->dev, " context[%d]: context detached\n", dev_err(device->dev, " context[%u]: context detached\n", context->id); } else if (device->ftbl->drawctxt_dump != NULL) device->ftbl->drawctxt_dump(device, context); Loading
drivers/gpu/msm/kgsl_drawobj.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -101,7 +101,7 @@ void kgsl_dump_syncpoints(struct kgsl_device *device, &retired); dev_err(device->dev, " [timestamp] context %d timestamp %d (retired %d)\n", " [timestamp] context %u timestamp %u (retired %u)\n", event->context->id, event->timestamp, retired); break; Loading Loading @@ -143,7 +143,7 @@ static void syncobj_timer(unsigned long data) device = drawobj->context->device; dev_err(device->dev, "kgsl: possible gpu syncpoint deadlock for context %d timestamp %d\n", "kgsl: possible gpu syncpoint deadlock for context %u timestamp %u\n", drawobj->context->id, drawobj->timestamp); set_bit(ADRENO_CONTEXT_FENCE_LOG, &drawobj->context->priv); Loading @@ -160,7 +160,7 @@ static void syncobj_timer(unsigned long data) switch (event->type) { case KGSL_CMD_SYNCPOINT_TYPE_TIMESTAMP: dev_err(device->dev, " [%d] TIMESTAMP %d:%d\n", dev_err(device->dev, " [%u] TIMESTAMP %u:%u\n", i, event->context->id, event->timestamp); break; case KGSL_CMD_SYNCPOINT_TYPE_FENCE: { Loading @@ -168,7 +168,7 @@ static void syncobj_timer(unsigned long data) struct event_fence_info *info = &event->info; for (j = 0; j < info->num_fences; j++) dev_err(device->dev, " [%d] FENCE %s\n", dev_err(device->dev, " [%u] FENCE %s\n", i, info->fences[j].name); break; } Loading
drivers/gpu/msm/kgsl_events.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -390,7 +390,7 @@ static void events_debugfs_print_group(struct seq_file *s, group->readtimestamp(event->device, group->priv, KGSL_TIMESTAMP_RETIRED, &retired); seq_printf(s, "\t%d:%d age=%lu func=%ps [retired=%d]\n", seq_printf(s, "\t%u:%u age=%lu func=%ps [retired=%u]\n", group->context ? group->context->id : KGSL_MEMSTORE_GLOBAL, event->timestamp, jiffies - event->created, Loading