OSDN Git Service

drm/tidss: Add prepare_fb to the plane helper funcs
authorGowtham Tammana <g-tammana@ti.com>
Wed, 26 Aug 2020 13:44:09 +0000 (16:44 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 5 Oct 2020 05:17:38 +0000 (08:17 +0300)
commit01370532b72e954989a3175eabe47f90fc6d2a6b
treed979168d9890a23412e6f95da253bb1bcff0c614
parenta10563c89a721a39cd30dac2d283679ef46e4cad
drm/tidss: Add prepare_fb to the plane helper funcs

drm_gem_fb_prepare_fb() extracts fence and attaches to plane state.
The fence info is needed if implicit fencing is used. Add this as
prepare_fb function pointer to plane helper funcs.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826134409.473554-1-tomi.valkeinen@ti.com
drivers/gpu/drm/tidss/tidss_plane.c