[PATCH 0/4] drm/panfrost: Plumb cycle counters to userspace
Alyssa Rosenzweig
alyssa at collabora.com
Fri May 28 13:31:45 UTC 2021
Hi Tomeu,
> Will this be enough to implement GL_TIMESTAMP and GL_TIME_ELAPSED queries?
>
> Guess the DDK implements these as WRITE_VALUE jobs, and there's also a soft
> job BASE_JD_REQ_SOFT_DUMP_CPU_GPU_TIME that I guess is used for
> glGet*(GL_TIMESTAMP). Other DRM drivers use an ioctl for that instead.
For anything implemented as WRITE_VALUE jobs, this is necessary and
sufficient on the kernel side. If an out-of-band soft job or ioctl is
truly needed (I haven't looked), of course that needs additional piping.
Thanks,
Alyssa
More information about the dri-devel
mailing list