linux/drivers/video/console
Takashi Iwai 0f2893f0d1 vgacon: Fix & cleanup refcounting
The vgacon driver prepares a two element array of uni_pagedir_loc and
uses the second item as its own reference counter for sharing the
uni_pagedir.  And the code assumes blindly that the second item is
available if the assigned vc_uni_pagedir isn't the standard one, which
might be wrong (although currently it's so).

This patch fixes that wrong assumption, and gives a slight cleanup
along with it: namely, instead of array, just give the uni_pagedir_loc
and a separate refcount variable.  It makes the code a bit more
understandable at first glance.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-28 13:37:21 -07:00
..
bitblit.c fbcon: Fix bit_putcs() call to kmalloc(s, GFP_KERNEL) 2012-08-23 12:29:32 +00:00
dummycon.c
fbcon_ccw.c
fbcon_cw.c drivers/video/console/fbcon_cw.c: fix compiler warning in cw_update_attr 2013-04-29 15:54:26 -07:00
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c
fbcon.c fbcon: Clean up fbcon data in fb_info on FB_EVENT_FB_UNBIND with 0 fbs 2014-02-11 14:16:22 +02:00
fbcon.h
Kconfig video: vgacon: Don't build on arm64 2014-01-17 10:57:45 +02:00
Makefile lib: Move fonts from drivers/video/console/ to lib/fonts/ 2013-06-28 10:28:22 +02:00
mdacon.c TTY:vt: convert remain take_over_console's users to do_take_over_console 2013-05-20 22:29:27 -07:00
newport_con.c TTY:vt: convert remain take_over_console's users to do_take_over_console 2013-05-20 22:29:27 -07:00
softcursor.c drivers/video/console/softcursor.c: remove redundant NULL check before kfree() 2012-12-10 11:33:53 +02:00
sticon.c video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
sticore.c video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
tileblit.c
vgacon.c vgacon: Fix & cleanup refcounting 2014-05-28 13:37:21 -07:00