]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: Add drm_device->fb_helper pointer
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 30 Oct 2017 15:39:38 +0000 (16:39 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 31 Oct 2017 18:06:05 +0000 (19:06 +0100)
commit29ad20b22c8f3ab35e91c2f68b4c7956cee30fd0
treebf8627ed10719eb817367a3a56017ab085dabbe1
parentc777990fb45b574b967d982986dd2dea8bb85643
drm: Add drm_device->fb_helper pointer

drm_fb_helper is *the* way of doing fbdev emulation so add a pointer to
struct drm_device. This makes it possible to add callback helpers for
.last_close and .output_poll_changed further reducing fbdev emulation
footprint in drivers. The pointer is set by drm_fb_helper_init() and
cleared by drm_fb_helper_fini().

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