summaryrefslogtreecommitdiff
path: root/fs/compat_binfmt_elf.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-10-18 17:03:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 12:27:33 +0100
commitdb3566cfbf99d965188361d172a215f979f41f15 (patch)
treeb20ae8e34f51b509b8893f7045589871e9af091e /fs/compat_binfmt_elf.c
parentba2181d76ecc6598014d302c0575c3eac3c27012 (diff)
staging: vboxvideo: Keep old mode when disable crtc
On DPMS off we get a call to vbx_crtc_atomic_disable, followed by a call to vbox_primary_atomic_update, at which point crtc_state->enable is 0 and crtc_state->mode has been zero-ed. On a 0 width/height vbox_do_modeset() falls back to 640x480, so this causes the guest Window (its "monitor") to resize to 640x480 (and become black). This commit makes us not look at crtc_state->mode when crtc_state->enable is not set, so that we keep the old mode and just make the window go black. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions