linux/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>
History 2022-10-26 12:34:54 +02:00
..
arcpgu.c drm/arc: Move to drm/tiny 2021-02-25 13:19:04 +01:00
bochs.c drm/bochs: fix blanking 2022-10-26 12:34:54 +02:00
cirrus.c drm/cirrus: Use offset-adjusted shadow-plane mappings 2021-08-08 20:27:34 +02:00
gm12u320.c drm/gm12u320: Use offset-adjusted shadow-plane mappings 2021-08-08 20:27:37 +02:00
hx8357d.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9225.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9341.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9486.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
Kconfig drivers/firmware: consolidate EFI framebuffer setup for all arches 2021-07-21 12:04:56 +02:00
Makefile drm/bochs: Move to tiny/ 2021-07-05 08:54:44 +02:00
mi0283qt.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
repaper.c drm/repaper: Use framebuffer dma-buf helpers 2021-07-23 20:18:11 +02:00
simpledrm.c drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 2022-08-03 12:03:43 +02:00
st7586.c drm/st7586: Use framebuffer dma-buf helpers 2021-07-23 20:18:14 +02:00
st7735r.c drm/st7735r: Fix module autoloading for Okaya RH128128T 2022-08-17 14:23:16 +02:00