VFIO/Integrated switching fix and ACL correction
This merge fixes the "reboot" message when switching from Integrated to VFIO, as well as the ACL reload after gfx change.
Issue Description:
- Since the call to switch takes longer as a normal DBus call(as it is done synchronous), the notifier kicks in before the laststate is updated (timing problem/race condition).
- ACL didn't worked correctly on gfx change
Solution(fix):
- To avoid this behavior, we're setting a "pollerDelay" of 5s when switching from integrated to vfio state. We also implemented a double check of the current state, reported by asusctl.
- Added reload of ACL on gfx change (was unimplemented)
Edited by Armas Spann