drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks
authorMarek Vasut <marex@denx.de>
Sun, 2 Oct 2016 17:01:24 +0000 (19:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Oct 2016 13:18:02 +0000 (15:18 +0200)
commit7d83a155f0c4bf86bd6dfced1768c0a34add8f1b
treecfc77ccbf274f59a2924516b3362d083a4efcbd9
parent587680c1c52d73bc7d5dbba2dcfadacb7a3f6b0e
drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks

Add .prepare_fb and .cleanup_fb plane hooks into the drm_simple_kms.
These can be used by drivers to call ie. the drm_fb_cma_setup_fence()
helper.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161002170124.6099-1-marex@denx.de
drivers/gpu/drm/drm_simple_kms_helper.c
include/drm/drm_simple_kms_helper.h