summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/qxl/qxl_drv.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-09-06 16:29:57 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-09-07 12:13:22 +0200
commite740ceb53e4579a7a4063712cebecac3c343b189 (patch)
treeffc989a25da6784de3bbc64572dceceadc508f33 /drivers/gpu/drm/qxl/qxl_drv.c
parent85faca8ca0f659263b5fb2385e4c231cc075bd84 (diff)
drm/bochs: fix blanking
VGA_IS1_RC is the color mode register (VGA_IS1_RM the one for monochrome mode, note C vs. M at the end). So when using VGA_IS1_RC make sure the vga device is actually in color mode and set the corresponding bit in the misc register. Reproducible when booting VMs in UEFI mode with some edk2 versions (edk2 fix is on the way too). Doesn't happen in BIOS mode because in that case the vgabios already flips the bit. Fixes: 250e743915d4 ("drm/bochs: Add screen blanking support") Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: http://patchwork.freedesktop.org/patch/msgid/20220906142957.2763577-1-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.c')
0 files changed, 0 insertions, 0 deletions