summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/Makefile
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2020-03-07 21:54:38 +0800
committerQiang Yu <yuq825@gmail.com>2020-03-22 09:57:21 +0800
commit7f60c4b9d964f604262327a0bfdbfd1721288ef8 (patch)
tree7bc798ca5935f1f37dcfab36c49db1758504319c /drivers/gpu/drm/lima/Makefile
parent57b517cecea05f35fd4a1a00708f9255db7382c8 (diff)
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/Makefile')
-rw-r--r--drivers/gpu/drm/lima/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/Makefile b/drivers/gpu/drm/lima/Makefile
index a85444b0a1d4..6e7b788408e8 100644
--- a/drivers/gpu/drm/lima/Makefile
+++ b/drivers/gpu/drm/lima/Makefile
@@ -14,6 +14,7 @@ lima-y := \
lima_sched.o \
lima_ctx.o \
lima_dlbu.o \
- lima_bcast.o
+ lima_bcast.o \
+ lima_trace.o
obj-$(CONFIG_DRM_LIMA) += lima.o