diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvif')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/device.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/device.c b/drivers/gpu/drm/nouveau/nvif/device.c index 6f72244c52cd..837442c69a5d 100644 --- a/drivers/gpu/drm/nouveau/nvif/device.c +++ b/drivers/gpu/drm/nouveau/nvif/device.c @@ -24,6 +24,12 @@ #include <nvif/device.h> +u64 +nvif_device_time(struct nvif_device *device) +{ + return nvxx_timer(device)->read(nvxx_timer(device)); +} + void nvif_device_fini(struct nvif_device *device) { |