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
This commit is contained in:
Xaver Hugl 2022-02-18 17:29:11 +01:00
parent 6c803088da
commit e9db27d05d

View file

@ -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);
}