]> git.baikalelectronics.ru Git - kernel.git/commit
bochs: ignore device if there isn't enougth memory
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Dec 2014 11:29:59 +0000 (12:29 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Sep 2016 12:25:35 +0000 (14:25 +0200)
commit8934fa59eb3f8365043f588d970f857fce3ffcd2
treea9fa400090460d9862ee85438812d201c555894c
parent6f0492d57521ebcb7738041489264027c3c20a0a
bochs: ignore device if there isn't enougth memory

The qemu stdvga can be configured with a wide range of video memory,
from 1 MB to 256 MB (default is 16 MB).  In case it is configured
with only 1 or 2 MB it isn't really usable with bochsdrm, due to
depths other than 32bpp not being supported so that isn't enough
memory for a reasonable sized framebuffer.  So skip the device
and let vgacon or vesafb+fbcon handle the it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/bochs/bochs_drv.c