[PATCH V4 2/2] drm/imx: Switch to drm_fb_cma_prepare_fb() helper

2016-11-14 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 11:32:47AM +0100, Lucas Stach wrote: > Am Montag, den 14.11.2016, 11:07 +0100 schrieb Marek Vasut: > > 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-

[PATCH V4 2/2] drm/imx: Switch to drm_fb_cma_prepare_fb() helper

2016-11-14 Thread Lucas Stach
Am Montag, den 14.11.2016, 11:07 +0100 schrieb Marek Vasut: > 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 > Cc: Daniel Vetter > Cc: Lucas Stach Reviewed-by

[PATCH V4 2/2] drm/imx: Switch to drm_fb_cma_prepare_fb() helper

2016-11-14 Thread Marek Vasut
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 Cc: Daniel Vetter Cc: Lucas Stach --- V2: - Rename the function to drm_fb_cma_extract_and_attach_fence() - Add missi