drm-shim: report support for timeline semaphores

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8934>
This commit is contained in:
Lionel Landwerlin 2020-12-09 17:56:52 +02:00 committed by Marge Bot
parent 64cb03a52d
commit c4c642a7b4
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ drm_shim_ioctl_get_cap(int fd, unsigned long request, void *arg)
switch (gc->capability) {
case DRM_CAP_PRIME:
case DRM_CAP_SYNCOBJ:
case DRM_CAP_SYNCOBJ_TIMELINE:
gc->value = 1;
return 0;