drm/lima: save task info dump when task fail
Save all information to start a task which can be exported to user for debug usage. Dump file data format is specified in lima_dump.h v2: Add include header to address build robot complain. Tested-by: Andreas Baierl <ichgeh@imkreisrum.de> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200307134423.24329-1-yuq825@gmail.com
This commit is contained in:
@@ -5,9 +5,16 @@
|
||||
#define __LIMA_SCHED_H__
|
||||
|
||||
#include <drm/gpu_scheduler.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
struct lima_vm;
|
||||
|
||||
struct lima_sched_error_task {
|
||||
struct list_head list;
|
||||
void *data;
|
||||
u32 size;
|
||||
};
|
||||
|
||||
struct lima_sched_task {
|
||||
struct drm_sched_job base;
|
||||
|
||||
|
Reference in New Issue
Block a user