FWIW I intend to introduce a display mode cache in win32u (except for the current mode) in https://gitlab.winehq.org/wine/wine/-/merge_requests/406 and later patches to support display modes in nulldrv. I'm not sure if that would change our solve anything here.