From 205472bad787180fa6149a22144be23c3046acd8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 4 Jul 2024 15:33:40 +0200 Subject: [PATCH] drm: fix vrr checks --- src/backend/drm/DRM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index c7c3528..685cbe8 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -960,7 +960,7 @@ void Aquamarine::SDRMConnector::connect(drmModeConnector* connector) { output->nonDesktop = prop; } - canDoVrr = props.vrr_capable && crtc->props.vrr_enabled && !getDRMProp(backend->gpu->fd, id, props.vrr_capable, &prop) && prop; + canDoVrr = props.vrr_capable && crtc->props.vrr_enabled && getDRMProp(backend->gpu->fd, id, props.vrr_capable, &prop) && prop; output->vrrCapable = canDoVrr; backend->backend->log(AQ_LOG_DEBUG,