aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2020-03-07 13:54:38 +0000
committerQiang Yu <[email protected]>2020-03-22 01:57:21 +0000
commit7f60c4b9d964f604262327a0bfdbfd1721288ef8 (patch)
tree7bc798ca5935f1f37dcfab36c49db1758504319c /drivers/gpu/drm/lima/lima_sched.h
parentdrm/lima: add error sysfs to export error task dump (diff)
downloadkernel-7f60c4b9d964f604262327a0bfdbfd1721288ef8.tar.gz
kernel-7f60c4b9d964f604262327a0bfdbfd1721288ef8.zip
drm/lima: add trace point for tasks
track lima task start which can be combined with dma_fence_signal to identify task execution time. example command to record: trace-cmd record -i \ -e "lima:lima_task_submit" -e "lima:lima_task_run" \ -e "*fence:*fence_signaled" -e "drm:drm_vblank_event" \ -e "drm:drm_vblank_event_queued" sleep 4 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.h')
-rw-r--r--drivers/gpu/drm/lima/lima_sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_sched.h b/drivers/gpu/drm/lima/lima_sched.h
index a1496cb7bc41..02dfa14d7083 100644
--- a/drivers/gpu/drm/lima/lima_sched.h
+++ b/drivers/gpu/drm/lima/lima_sched.h
@@ -6,6 +6,7 @@
#include <drm/gpu_scheduler.h>
#include <linux/list.h>
+#include <linux/xarray.h>
struct lima_vm;