[PATCH] drm/vc4: add tracepoints for CL submissions
Melissa Wen
mwen at igalia.com
Tue Mar 1 14:58:26 UTC 2022
On 02/25, Maxime Ripard wrote:
> Hi Melissa,
>
> On Tue, Feb 01, 2022 at 08:26:51PM -0100, Melissa Wen wrote:
> > 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 at igalia.com>
>
> I'm not really sure what to do about this patch to be honest.
>
> My understanding is that tracepoints are considered as userspace ABI,
> but I can't really judge whether your traces are good enough or if it's
> something that will bit us some time down the road.
Hi Maxime,
Thanks for taking a look at this patch.
So, I followed the same path of tracing CL submissions on v3d. I mean,
tracking submit_cl ioctl, points when a job (bin/render) starts it
execution, and irqs of completion (bin/render job). We used it to
examine job throttling when running Chromium and, therefore, in addition
to have the timeline of jobs execution, I show some data submitted in
the ioctl to make connections. I think these tracers might be useful for
some investigation in the future, but I'm also not sure if all data are
necessary to be displayed.
Melissa
>
> Emma, Daniel, David, any insight?
>
> Thanks,
> Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220301/fb20f309/attachment-0001.sig>
More information about the dri-devel
mailing list