diff options
| author | Qiang Yu <[email protected]> | 2020-04-21 13:35:43 +0000 |
|---|---|---|
| committer | Qiang Yu <[email protected]> | 2020-04-24 12:50:40 +0000 |
| commit | d04f2a8e5b190c277663865311ecd6a393abf3b9 (patch) | |
| tree | 017968a0d0fe8b3c2aeb213480a56c4c200b8114 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/lima: use module_platform_driver helper (diff) | |
| download | kernel-d04f2a8e5b190c277663865311ecd6a393abf3b9.tar.gz kernel-d04f2a8e5b190c277663865311ecd6a393abf3b9.zip | |
drm/lima: print process name and pid when task error
When error task list is full, print the process info where
the error task come from for debug usage.
Tested-by: Bhushan Shah <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
| -rw-r--r-- | drivers/gpu/drm/lima/lima_sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c index a2db1c937424..387f9439450a 100644 --- a/drivers/gpu/drm/lima/lima_sched.c +++ b/drivers/gpu/drm/lima/lima_sched.c @@ -285,7 +285,8 @@ static void lima_sched_build_error_task_list(struct lima_sched_task *task) mutex_lock(&dev->error_task_list_lock); if (dev->dump.num_tasks >= lima_max_error_tasks) { - dev_info(dev->dev, "fail to save task state: error task list is full\n"); + dev_info(dev->dev, "fail to save task state from %s pid %d: " + "error task list is full\n", ctx->pname, ctx->pid); goto out; } |
