]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm: Expose DRIVER_SYNCOBJ_TIMELINE
authorRob Clark <robdclark@chromium.org>
Tue, 25 Feb 2025 22:52:43 +0000 (14:52 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 27 Feb 2025 19:54:53 +0000 (11:54 -0800)
Initially we didn't want to expose the cap, as it would expose a bug
in the vk driver (turnip) with older mesa versions.  This was fixed over
a year ago (and cherry-picked to stable release branches at the time),
see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25981.
So let's go ahead and expose it now.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/639610/

drivers/gpu/drm/msm/msm_drv.c

index ff7a7a9f7b0da1ac04792e3b557a1f22de1d8131..c3588dc9e53764a27efda1901b094724cec8928a 100644 (file)
@@ -894,6 +894,7 @@ static const struct drm_driver msm_driver = {
                                DRIVER_RENDER |
                                DRIVER_ATOMIC |
                                DRIVER_MODESET |
+                               DRIVER_SYNCOBJ_TIMELINE |
                                DRIVER_SYNCOBJ,
        .open               = msm_open,
        .postclose          = msm_postclose,