asahi: hk: Enable timestamps for virt

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32759>
This commit is contained in:
Asahi Lina 2024-12-03 03:58:41 +09:00 committed by Marge Bot
parent e281293508
commit c80c56a315

View file

@ -252,7 +252,5 @@ void agx_va_free(struct agx_device *dev, struct agx_va *va);
static inline bool
agx_supports_timestamps(const struct agx_device *dev)
{
/* TODO: Ungate virtio once virglrenderer supports the timestamp uapi */
return !dev->is_virtio &&
(dev->params.feat_compat & DRM_ASAHI_FEAT_USER_TIMESTAMPS);
return (dev->params.feat_compat & DRM_ASAHI_FEAT_USER_TIMESTAMPS);
}