android_kernel_xiaomi_sm8350/drivers/video/console
Bjorn Helgaas 4f1bcaf094 [PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use
VGA_MAP_MEM translates to ioremap() on some architectures.  It makes sense
to do this to vga_vram_base, because we're going to access memory between
vga_vram_base and vga_vram_end.

But it doesn't really make sense to map starting at vga_vram_end, because
we aren't going to access memory starting there.  On ia64, which always has
to be different, ioremapping vga_vram_end gives you something completely
incompatible with ioremapped vga_vram_start, so vga_vram_size ends up being
nonsense.

As a bonus, we often know the size up front, so we can use ioremap()
correctly, rather than giving it a zero size.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-22 15:05:58 -07:00
..
bitblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
dummycon.c
fbcon_ccw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_cw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.h [PATCH] fbcon: Code cleanups 2006-01-10 08:01:51 -08:00
fbcon_ud.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon.c [PATCH] fbcon: fix limited scroll in SCROLL_PAN_REDRAW mode 2006-06-08 15:12:21 -07:00
fbcon.h [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -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 [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
Kconfig [PATCH] vgacon: Add support for soft scrollback 2006-03-27 08:44:55 -08:00
Makefile
mdacon.c [PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use 2006-06-22 15:05:58 -07:00
newport_con.c [PATCH] sparse: Fix warnings in newport driver about non-static functions 2006-03-27 08:44:57 -08:00
prom.uni
promcon.c
softcursor.c [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
sticon.c
sticore.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
tileblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
vgacon.c [PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use 2006-06-22 15:05:58 -07:00