Instead of recomputing the connected outputs hash on every access, store
it in Config and only recalculate it on a change of one of its inputs.
Also inform consumers about the change via a separate signal.
No Linters Available |
No Unit Test Coverage |
Buildable 5093 | |
Build 5111: arc lint + arc unit |
Checking the edid is necessary, because it might be set asynchronously and before that the hash is based on the output name only.
That said I can only test this with the autotest, but not with my hardware, because KWin does not like to send the edid values for my screens.