From a70fc6a2fd53fc82f0cbb464fd8e91f00511cfc1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 3 Aug 2024 19:10:09 +0200 Subject: [PATCH] drm: avoid testing with a pf event --- 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 c56634c..cfbef0d 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -1544,7 +1544,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) { // to avoid doing this over and over. data.modeset = true; data.blocking = true; - data.flags = DRM_MODE_PAGE_FLIP_EVENT; + data.flags = onlyTest ? 0 : DRM_MODE_PAGE_FLIP_EVENT; ok = connector->commitState(data); if (!ok)