drm/vc4: add tracepoints for CL submissions
authorMelissa Wen <mwen@igalia.com>
Tue, 1 Feb 2022 21:26:51 +0000 (20:26 -0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 17 Mar 2022 14:12:25 +0000 (15:12 +0100)
commit044feb974801140d923ecae66bc1685592b19865
tree9f196c78c3567a05809dbaef623c38258e91b2d2
parent4442ac1af10442d6e7e824fdc226f89ed94d5b53
drm/vc4: add tracepoints for CL submissions

Trace submit_cl_ioctl and related IRQs for CL submission and bin/render
jobs execution. It might be helpful to get a rendering timeline and
track job throttling.

Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220201212651.zhltjmaokisffq3x@mail.igalia.com
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vc4/vc4_irq.c
drivers/gpu/drm/vc4/vc4_trace.h