Skip to content

panfrost: add support for DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO on drm-shim

What does this MR do and why?

panfrost: add support for DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO on drm-shim

In opposite to other DRM_PANTHOR_DEV_QUERY queries, it just fills it
with noop values. Real values doesn't seem relevant on the usual uses
for drm-shim.

This avoids the following error when using shader-db:
  $ ./run shaders/glmark/1-1.shader_test
  Unknown DRM_IOCTL_PANTHOR_DEV_QUERY 2
  MESA: error: DRM_IOCTL_PANTHOR_DEV_QUERY failed (err=2)

Fixes: 302127fe9dc7 ("pan/kmod: Add timestamp uapi support")

Merge request reports

Loading