linux/drivers/video/fbdev/core
Hans de Goede df37e225f2 fbcon: Do not takeover the console from atomic context
Taking over the console involves allocating mem with GFP_KERNEL, talking
to drm drivers, etc. So this should not be done from an atomic context.

But the console-output trigger deferred console takeover may happen from an
atomic context, which leads to "BUG: sleeping function called from invalid
context" errors.

This commit fixes these errors by doing the deferred takeover from a
workqueue.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[b.zolnierkie: remove unused variable]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2018-08-10 17:23:02 +02:00
..
bitblit.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
fb_cmdline.c
fb_ddc.c
fb_defio.c video: fbdev: core: Change return type to vm_fault_t 2018-04-24 18:11:21 +02:00
fb_draw.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fb_notify.c
fb_sys_fops.c
fbcmap.c
fbcon_ccw.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
fbcon_cw.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
fbcon_rotate.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
fbcon_rotate.h fbcon: Make fbcon a built-time depency for fbdev 2017-08-01 17:32:07 +02:00
fbcon_ud.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
fbcon.c fbcon: Do not takeover the console from atomic context 2018-08-10 17:23:02 +02:00
fbcon.h fbcon: Remove dmi quirk table 2017-12-04 23:03:22 +01:00
fbcvt.c
fbmem.c fbdev/core: Disable console-lock warnings when fb.lockless_register_fb is set 2018-07-31 13:06:58 +02:00
fbmon.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
fbsysfs.c fbcon: Add fbcon_rotate_hint to struct fb_info 2017-12-04 23:03:21 +01:00
Makefile fbcon: Remove dmi quirk table 2017-12-04 23:03:22 +01:00
modedb.c fbdev: fix modedb docs in fb_find_mode 2018-07-24 19:11:27 +02:00
softcursor.c fbcon: Make fbcon a built-time depency for fbdev 2017-08-01 17:32:07 +02:00
svgalib.c
syscopyarea.c
sysfillrect.c
sysimgblt.c
tileblit.c fbcon: add fbcon=margin:<color> command line option 2017-08-18 19:56:40 +02:00