diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-08-10 18:23:02 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-08-10 18:23:02 +0300 |
commit | df37e225f25933732c17e43cbe7d21eec31b24be (patch) | |
tree | b451fe45b3a6280bf88fa0fed28c144dd2c6e6ec /Documentation/fb | |
parent | 4d64c8e02cdad5ada0b9e1e3d20b73c279cafaf2 (diff) | |
download | linux-df37e225f25933732c17e43cbe7d21eec31b24be.tar.xz |
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>
Diffstat (limited to 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions