drm/fb-helper: Finish the generic fbdev emulation
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 3 Jul 2018 16:03:52 +0000 (18:03 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 10 Jul 2018 12:54:09 +0000 (14:54 +0200)
commit9060d7f49376159dcc500a97cb247ca8e4b98f48
tree55338919085acd6e832fd1d39a2743b529476725
parente896c132eb2cb4975d99477ea7e95aedb6dffa95
drm/fb-helper: Finish the generic fbdev emulation

This adds a drm_fbdev_generic_setup() function that sets up generic
fbdev emulation with client callbacks for restore, hotplug and
unregister.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180703160354.59955-7-noralf@tronnes.org
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h