syscons - Wait for drm modesetting at appropriate places.
* This avoids races between userland using DRM, and the drm modesetting
callbacks called by syscons.
* Always call the drm modesetting callback, when we are switching from a
virtual terminal that is in Graphics mode. Before that was skipped unless
we were switching to a virtual terminal that is in Text mode.
However with the framebuffer mmap-ing through syscons, it also makes sense
to use virtual terminals in Graphics mode, without going through drm. So
we have to make sure to restore the syscons framebuffer there as well.