It turns out DRM connectors are not static and may change over time.
This patch refreshes them right before looking for new outputs.
BUG: 419061
FIXED-IN: 5.19.0
davidedmundson | |
meven |
KWin |
It turns out DRM connectors are not static and may change over time.
This patch refreshes them right before looking for new outputs.
BUG: 419061
FIXED-IN: 5.19.0
Seems to work better, it's still not ideal but I think there's an unrelated bug
sending updates to clients.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
CRTC objects are static, not dynamic. The total number of CRTCs remains the same even if you connect an 8K monitor, which most likely will be internally driven by two CRTCs.
We need to query connector objects when the DRM device has been changed and presumably (not 100% sure) after waking up from sleep mode.