Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cdf014c6 authored by Marek Vasut's avatar Marek Vasut Committed by Marissa Wall
Browse files

BACKPORT: drm/fb_cma_helper: Add drm_fb_cma_prepare_fb() helper



Add new drm_fb_cma_prepare_fb() helper function extracted from the
imx-drm driver. This function checks if the plane has DMABUF attached
to it, extracts the exclusive fence from it and attaches it to the
plane state for the atomic helper to wait on it.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114100732.3446-1-marex@denx.de


(cherry picked from commit 14d7f96f90fb65c2ca0e0ac7df237e06ff001c29)
Signed-off-by: default avatarMarissa Wall <marissaw@google.com>

Change-Id: I3b7adb3c3217eed72e45c53c5c749f6218611df0
parent 0ed87071
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment