OpenCloudOS-Kernel/drivers/gpu/drm/bochs
Thomas Zimmermann f1f8555dfb drm/bochs: Use shadow buffer for bochs framebuffer console
The bochs driver (and virtual hardware) requires buffer objects to
reside in video ram to display them to the screen. So it can not
display the framebuffer console because the respective buffer object
is permanently pinned in system memory.

Using a shadow buffer for the console solves this problem. The console
emulation will pin the buffer object only during updates from the shadow
buffer. Otherwise, the bochs driver can freely relocated the buffer
between system memory and video ram.

v2:
	* select shadow FB via struct drm_mode_config.prefer_shadow_fbdev

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/315833/
2019-07-09 10:25:31 +02:00
..
Kconfig drm-misc-next for v5.3, try #2: 2019-05-28 08:59:11 +10:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bochs.h drm/bochs: Convert bochs driver to VRAM MM 2019-05-15 16:17:08 +02:00
bochs_drv.c drm/bochs: Remove PRIME helpers from driver structure 2019-07-03 09:32:11 +02:00
bochs_hw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bochs_kms.c drm/bochs: Use shadow buffer for bochs framebuffer console 2019-07-09 10:25:31 +02:00
bochs_mm.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00