drm/fsl-dcu: move layer initialization to plane file
authorStefan Agner <stefan@agner.ch>
Fri, 12 Feb 2016 00:51:49 +0000 (16:51 -0800)
committerStefan Agner <stefan@agner.ch>
Fri, 12 Feb 2016 00:51:49 +0000 (16:51 -0800)
commit8b7d4bf27d57de0b27bb818d96ab104010e480ef
treebdc81a5ac335e6d85a495d20f65830cbab3d87e4
parentf2f08ba7953cd23a89afd521755318ccc2545b64
drm/fsl-dcu: move layer initialization to plane file

Move the initialization code for layers into a seperate function
in the plane file. This allows to reuse the function on resume.
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h