From 561f50bfae51833c4fa8f420714488a8a7eacb28 Mon Sep 17 00:00:00 2001 From: Ikalco <73481042+ikalco@users.noreply.github.com> Date: Thu, 29 Aug 2024 08:51:04 -0500 Subject: [PATCH] drm: don't connect before crtcs are guaranteed (#68) --- src/backend/drm/DRM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index e2d72a8..619cc48 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -246,7 +246,7 @@ std::vector> Aquamarine::CDRMBackend::attempt(SP backe drmBackend->grabFormats(); - drmBackend->scanConnectors(); + drmBackend->scanConnectors(false); drmBackend->recheckCRTCs(); @@ -279,7 +279,7 @@ bool Aquamarine::CDRMBackend::sessionActive() { void Aquamarine::CDRMBackend::restoreAfterVT() { backend->log(AQ_LOG_DEBUG, "drm: Restoring after VT switch"); - scanConnectors(); + scanConnectors(false); recheckCRTCs(); backend->log(AQ_LOG_DEBUG, "drm: Rescanned connectors");