Enable KMS deadline timer after a VT switch if it was inhibited
Context
This MR allows the KMS thread to arm its deadline timer again after a VT switch.
See #3259 (closed) for a description of the issue and root cause analysis.
Description
Introduce a meta_kms_impl_device_resume()
function that enables the deadline timer of a MetaKmsImplDevice
if it was inhibited previously. Then call it for every device after a VT switch. This solution was suggested when discussing the issue with @jadahl.
See commit messages for more information.
Edited by Dor Askayo