linux-stable/drivers/gpu/drm/tiny
Gerd Hoffmann cfbdf6a323 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-21 12:38:26 +02:00
..
arcpgu.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
bochs.c drm/bochs: fix blanking 2022-10-21 12:38:26 +02:00
cirrus.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
gm12u320.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
hx8357d.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ili9163.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ili9225.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
ili9341.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ili9486.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
Kconfig drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
Makefile drm/tiny: Add MIPI DBI compatible SPI driver 2022-02-28 10:29:33 +01:00
mi0283qt.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-mipi-dbi.c drm for 5.18-rc1 2022-03-24 16:19:43 -07:00
repaper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
simpledrm.c drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 2022-07-26 17:18:45 +02:00
st7586.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
st7735r.c drm/st7735r: Fix module autoloading for Okaya RH128128T 2022-05-23 13:24:04 +02:00