drm: nullcheck output in reset
This commit is contained in:
parent
ea92cba414
commit
29c415a4f5
|
|
@ -261,7 +261,7 @@ void Aquamarine::CDRMBackend::restoreAfterVT() {
|
||||||
backend->log(AQ_LOG_ERROR, "drm: failed reset");
|
backend->log(AQ_LOG_ERROR, "drm: failed reset");
|
||||||
|
|
||||||
for (auto& c : connectors) {
|
for (auto& c : connectors) {
|
||||||
if (!c->crtc)
|
if (!c->crtc || !c->output)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
SDRMConnectorCommitData data = {
|
SDRMConnectorCommitData data = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue