From e9db27d05d7b76c8a4fc12a6f5c059680917052f Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 18 Feb 2022 17:29:11 +0100 Subject: [PATCH] backends/drm: ignore enabled state of outputs for the lifetime of layers A buffer is needed for atomic tests before the output is actually enabled BUG: 450501 CCBUG: 450358 --- src/backends/drm/egl_gbm_backend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/drm/egl_gbm_backend.cpp b/src/backends/drm/egl_gbm_backend.cpp index 45ef548b05..f2b07ca425 100644 --- a/src/backends/drm/egl_gbm_backend.cpp +++ b/src/backends/drm/egl_gbm_backend.cpp @@ -50,8 +50,8 @@ EglGbmBackend::EglGbmBackend(DrmBackend *drmBackend) , m_backend(drmBackend) { drmBackend->primaryGpu()->setEglBackend(this); - connect(m_backend, &DrmBackend::outputEnabled, this, &EglGbmBackend::addOutput); - connect(m_backend, &DrmBackend::outputDisabled, this, &EglGbmBackend::removeOutput); + connect(m_backend, &DrmBackend::outputAdded, this, &EglGbmBackend::addOutput); + connect(m_backend, &DrmBackend::outputRemoved, this, &EglGbmBackend::removeOutput); setIsDirectRendering(true); }