]> asedeno.scripts.mit.edu Git - linux.git/commit
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>
Sun, 19 Jun 2016 01:34:22 +0000 (18:34 -0700)
commit1277f80271a2a4cfabd71f454cba5dafbe820bcb
tree1209254eaea0b44be5f5ce708e32bb423d804317
parent6aaf5a4995456ced8c445fe5097a66ac4f0edfdd
drm/fsl-dcu: move layer initialization to plane file

Move the initialization code for layers into a separate function
in the plane file. This allows to reuse the function on resume.
Also move it at the very beginning which may not matter but makes
logically much more sense.

Signed-off-by: Stefan Agner <stefan@agner.ch>
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