Has anyone figured out how to enable the Display Scaling Option in the System Preferences for a T480 with a WQHD (2560x1440) display?

I've found https://github.com/xzhih/one-key-hidpi which seems to work, but it has a few other issues (flickering and wrong resolution) after waking up the display from sleep.
Has anyone figured out how to enable the Display Scaling Option in the System Preferences for a T480 with a WQHD (2560x1440) display?

I've found https://github.com/xzhih/one-key-hidpi which seems to work, but it has a few other issues (flickering and wrong resolution) after waking up the display from sleep.