]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/imx: Switch to drm_fb_cma_prepare_fb() helper
authorMarek Vasut <marex@denx.de>
Mon, 14 Nov 2016 10:07:32 +0000 (11:07 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Nov 2016 07:25:06 +0000 (08:25 +0100)
commit782ea2a493ba908008cbf2ce50d1b4047c1bba0f
treea912c7e9095098d461bf82f934e715750c2ea611
parent14d7f96f90fb65c2ca0e0ac7df237e06ff001c29
drm/imx: Switch to drm_fb_cma_prepare_fb() helper

Remove the common code from the driver and use the
drm_fb_cma_prepare_fb() helper instead.
Moveover, call the helper from prepare_fb() plane hook .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114100732.3446-2-marex@denx.de
Link: http://patchwork.freedesktop.org/patch/msgid/1476451342-146510-1-git-send-email-dvyukov@google.com
drivers/gpu/drm/imx/imx-drm-core.c
drivers/gpu/drm/imx/ipuv3-plane.c