summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm2/drm_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm2/drm_ioctl.c')
-rw-r--r--sys/dev/drm2/drm_ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/drm2/drm_ioctl.c b/sys/dev/drm2/drm_ioctl.c
index 96dcac2..c0af376 100644
--- a/sys/dev/drm2/drm_ioctl.c
+++ b/sys/dev/drm2/drm_ioctl.c
@@ -250,6 +250,9 @@ int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
case DRM_CAP_DUMB_PREFER_SHADOW:
req->value = dev->mode_config.prefer_shadow;
break;
+ case DRM_CAP_TIMESTAMP_MONOTONIC:
+ req->value = drm_timestamp_monotonic;
+ break;
default:
return EINVAL;
}
OpenPOWER on IntegriCloud