Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <bshah@kde.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-3-yuq825@gmail.com

Qiang Yu d04f2a8e 4eda21d6

+2 -1
+2 -1
drivers/gpu/drm/lima/lima_sched.c
··· 285 285 mutex_lock(&dev->error_task_list_lock); 286 286 287 287 if (dev->dump.num_tasks >= lima_max_error_tasks) { 288 - dev_info(dev->dev, "fail to save task state: error task list is full\n"); 288 + dev_info(dev->dev, "fail to save task state from %s pid %d: " 289 + "error task list is full\n", ctx->pname, ctx->pid); 289 290 goto out; 290 291 } 291 292