drm: do not assign many crtcs to single port

This commit is contained in:
Vaxry 2024-07-08 17:20:11 +02:00
parent 65d70c7a30
commit 42585b413d

View file

@ -501,6 +501,7 @@ void Aquamarine::CDRMBackend::recheckCRTCs() {
backend->log(AQ_LOG_DEBUG, std::format("drm: slot {} crtc {} assigned to {} (old {})", i, crtcs.at(i)->id, c->szName, c->crtc ? c->crtc->id : -1));
assigned = true;
changed.emplace_back(c);
std::erase(recheck, c);
break;
}