summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2016-02-12 00:51:49 (GMT)
committerStefan Agner <stefan@agner.ch>2016-06-19 01:34:22 (GMT)
commit1277f80271a2a4cfabd71f454cba5dafbe820bcb (patch)
tree1209254eaea0b44be5f5ce708e32bb423d804317 /drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h
parent6aaf5a4995456ced8c445fe5097a66ac4f0edfdd (diff)
downloadlinux-1277f80271a2a4cfabd71f454cba5dafbe820bcb.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h')
-rw-r--r--drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h
index d657f08..8ee45f8 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h
@@ -12,6 +12,7 @@
#ifndef __FSL_DCU_DRM_PLANE_H__
#define __FSL_DCU_DRM_PLANE_H__
+void fsl_dcu_drm_init_planes(struct drm_device *dev);
struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev);
#endif /* __FSL_DCU_DRM_PLANE_H__ */