From 58e92b5ee8743ebb77b824cce3330521f049bbac Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 17 Feb 2020 14:55:49 +1000 Subject: drm/nouveau/nvif: access PTIMER through usermode class, if available Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/include/nvif/user.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/drm/nouveau/include/nvif/user.h') diff --git a/drivers/gpu/drm/nouveau/include/nvif/user.h b/drivers/gpu/drm/nouveau/include/nvif/user.h index 03c11826b693..6825574d93c2 100644 --- a/drivers/gpu/drm/nouveau/include/nvif/user.h +++ b/drivers/gpu/drm/nouveau/include/nvif/user.h @@ -10,6 +10,7 @@ struct nvif_user { struct nvif_user_func { void (*doorbell)(struct nvif_user *, u32 token); + u64 (*time)(struct nvif_user *); }; int nvif_user_init(struct nvif_device *); -- cgit v1.2.3