diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2016-04-28 17:18:33 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-05-02 16:22:03 +0200 |
commit | eaa434defaca1781fb2932c685289b610aeb8b4b (patch) | |
tree | 718167fd30355f4366b6224320044d35f19da92c /kernel/livepatch | |
parent | drm/qxl: Change drm_fb_helper_sys_*() calls to sys_*() (diff) | |
download | linux-eaa434defaca1781fb2932c685289b610aeb8b4b.tar.xz linux-eaa434defaca1781fb2932c685289b610aeb8b4b.zip |
drm/fb-helper: Add fb_deferred_io support
This adds deferred io support to drm_fb_helper.
The fbdev framebuffer changes are flushed using the callback
(struct drm_framebuffer *)->funcs->dirty() by a dedicated worker
ensuring that it always runs in process context.
For those wondering why we need to be able to handle atomic calling
contexts: Both panic paths and cursor code and fbcon blanking can run
from atomic. See
commit bcb39af4486be07e896fc374a2336bad3104ae0a
Author: Dave Airlie <airlied@redhat.com>
Date: Thu Feb 7 11:19:15 2013 +1000
drm/udl: make usage as a console safer
for where this was originally discovered.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[danvet: Augment commit message with why we need to handle atomic
contexts.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461856717-6476-4-git-send-email-noralf@tronnes.org
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions