Skip to content

Commit d7f45a0

Browse files
committed
drm: apple: Support sync objects
Both mutter[0] and KWin[1] are using the KMS drm device for explicit sync in their screen casting implementation. This fails in both cases since the KMS device does not provide DRM_CAP_SYNCOBJ_TIMELINE. Support for this is implemented in generic DRM so setting the two necessary feature flags. 0: https://gitlab.gnome.org/GNOME/mutter/-/issues/4224 1: https://invent.kde.org/plasma/kwin/-/merge_requests/7941 Signed-off-by: Janne Grunau <j@jannau.net>
1 parent ff1fc1f commit d7f45a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/apple/apple_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static const struct drm_driver apple_drm_driver = {
7373
.desc = DRIVER_DESC,
7474
.major = 1,
7575
.minor = 0,
76-
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC,
76+
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC | DRIVER_SYNCOBJ | DRIVER_SYNCOBJ_TIMELINE,
7777
.fops = &apple_fops,
7878
};
7979

0 commit comments

Comments
 (0)