android_kernel_xiaomi_sm8350/drivers/video/console
Antonino A. Daplas 38a3dc5185 fbdev: fbcon: check if mode can handle new screen
Check if the mode can properly display the screen.  This will be needed by
drivers where the capability is not constant with each mode.  The function
fb_set_var() will query fbcon the requirement, then it will query the driver
(via a new hook fb_get_caps()) its capability.  If the driver's capability
cannot handle fbcon's requirement, then fb_set_var() will fail.

For example, if a particular driver supports 2 modes where:

mode1 = can only display 8x16 bitmaps
mode2 = can display any bitmap

then if current mode = mode2 and current font = 12x22

fbset <mode1> /* mode1 cannot handle 12x22 */
fbset will fail

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:32 -07:00
..
bitblit.c
dummycon.c
fbcon_ccw.c
fbcon_cw.c
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c
fbcon.c fbdev: fbcon: check if mode can handle new screen 2007-05-08 11:15:32 -07:00
fbcon.h [PATCH] fbdev modedb: make more pointer parameters const 2007-02-12 09:48:44 -08:00
font_6x11.c
font_7x14.c
font_8x8.c
font_8x16.c
font_10x18.c
font_acorn_8x8.c
font_mini_4x6.c
font_pearl_8x8.c
font_sun8x16.c
font_sun12x22.c
fonts.c fbcon: font setting should check limitation of driver 2007-05-08 11:15:31 -07:00
Kconfig
Makefile
mdacon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
newport_con.c
prom.uni
promcon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
softcursor.c [PATCH] softcursor.c: avoid unaligned accesses 2006-12-08 08:29:07 -08:00
sticon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
sticore.c fbcon: font setting should check limitation of driver 2007-05-08 11:15:31 -07:00
tileblit.c
vgacon.c vt-add-color-support-to-the-underline-and-italic-attributes-fix 2007-05-08 11:15:27 -07:00