Commit 85558234 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: fix multi gpu

In 5.24 there's still multiple egl backends, only outputs of the relevant
gpu may be handled

BUG: 450737
parent 1d058a79
Pipeline #141947 passed with stage
in 14 minutes and 47 seconds
......@@ -50,8 +50,8 @@ EglGbmBackend::EglGbmBackend(DrmBackend *drmBackend, DrmGpu *gpu)
, m_gpu(gpu)
{
m_gpu->setEglBackend(this);
connect(m_backend, &DrmBackend::outputAdded, this, &EglGbmBackend::addOutput);
connect(m_backend, &DrmBackend::outputRemoved, this, &EglGbmBackend::removeOutput);
connect(m_gpu, &DrmGpu::outputAdded, this, &EglGbmBackend::addOutput);
connect(m_gpu, &DrmGpu::outputRemoved, this, &EglGbmBackend::removeOutput);
setIsDirectRendering(true);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment