mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
c67a3d4f68
commit
b78edd46f6
5 changed files with 235 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue