drm: nullcheck output in reset

This commit is contained in:
Vaxry 2024-07-06 11:30:47 +02:00
parent ea92cba414
commit 29c415a4f5

View file

@ -261,7 +261,7 @@ void Aquamarine::CDRMBackend::restoreAfterVT() {
backend->log(AQ_LOG_ERROR, "drm: failed reset");
for (auto& c : connectors) {
if (!c->crtc)
if (!c->crtc || !c->output)
continue;
SDRMConnectorCommitData data = {