summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2020-03-07 16:54:38 +0300
committerQiang Yu <yuq825@gmail.com>2020-03-22 04:57:21 +0300
commit7f60c4b9d964f604262327a0bfdbfd1721288ef8 (patch)
tree7bc798ca5935f1f37dcfab36c49db1758504319c /drivers/gpu/drm/lima/lima_sched.h
parent57b517cecea05f35fd4a1a00708f9255db7382c8 (diff)
downloadlinux-7f60c4b9d964f604262327a0bfdbfd1721288ef8.tar.xz
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 <anarsoul@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200307135438.9981-1-yuq825@gmail.com
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;