WSL2-Linux-Kernel/drivers/gpu/drm/tiny
Gerd Hoffmann f5f599daa0 drm/bochs: fix blanking
[ Upstream commit e740ceb53e ]

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: 250e743915 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 12:34:54 +02:00
..
Kconfig
Makefile
arcpgu.c
bochs.c drm/bochs: fix blanking 2022-10-26 12:34:54 +02:00
cirrus.c
gm12u320.c
hx8357d.c
ili9225.c
ili9341.c
ili9486.c
mi0283qt.c
repaper.c
simpledrm.c drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 2022-08-03 12:03:43 +02:00
st7586.c
st7735r.c drm/st7735r: Fix module autoloading for Okaya RH128128T 2022-08-17 14:23:16 +02:00