summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2016-03-10 14:47:47 +0900
committerJoonyoung Shim <jy0922.shim@samsung.com>2016-07-27 10:27:57 +0900
commit3bb86ed4b31ec7e1917d9247c25254af993ce82b (patch)
treecb2d776510fbc9b83ab519d158e19bdcd239e335
parent360e2911a972f10a36f888b3c24f8281fe5320c6 (diff)
downloadlinux-exynos-3bb86ed4b31ec7e1917d9247c25254af993ce82b.tar.gz
linux-exynos-3bb86ed4b31ec7e1917d9247c25254af993ce82b.tar.bz2
linux-exynos-3bb86ed4b31ec7e1917d9247c25254af993ce82b.zip
drm/exynos: enable zpos property on primary plane
Now zpos property is immutable, so it's no problem to permit zpos property on primary plane. Change-Id: I1996a826e93c969adadb681e91e813f091b606b9 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_plane.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c
index 7672f3aa2c48..3272ed60367e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_plane.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c
@@ -220,8 +220,7 @@ int exynos_plane_init(struct drm_device *dev,
exynos_plane->zpos = zpos;
- if (type == DRM_PLANE_TYPE_OVERLAY)
- exynos_plane_attach_zpos_property(&exynos_plane->base, zpos);
+ exynos_plane_attach_zpos_property(&exynos_plane->base, zpos);
return 0;
}