There isn’t a v2 posted yet but the solution is basically going to be for the driver to do an internal modeset when the sysfs file is written to.
It won’t do a lot of good until v2 is posted; but I’ve also wired up a MR for PPD to toggle ABM dynamically:
Basically if on battery it will set:
- ABM 3 for “power saver”
- ABM 1 for “balanced”
- ABM 0 for “performance”.
If on AC it will set ABM 0.