Skip to content

backends/drm: ensure pipeline mode is always in the connector mode list

Xaver Hugl requested to merge work/zamundaaa/fix-modes-change into master

The current mode of an output not being in its mode list can lead to crashes. In my case, changing monitor settings that trigger KWin to find new modes causes it to crash in OutputDeviceV2InterfacePrivate::sendCurrentMode, because it couldn't find the current mode in the list so it was nullptr

Merge request reports