From c80c56a3154a3ab8c4ac4f500d024707be57163b Mon Sep 17 00:00:00 2001 From: Asahi Lina Date: Tue, 3 Dec 2024 03:58:41 +0900 Subject: [PATCH] asahi: hk: Enable timestamps for virt Signed-off-by: Asahi Lina Part-of: --- src/asahi/lib/agx_device.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/asahi/lib/agx_device.h b/src/asahi/lib/agx_device.h index 5955ae00deb..f5521773fd9 100644 --- a/src/asahi/lib/agx_device.h +++ b/src/asahi/lib/agx_device.h @@ -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); }