diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2015-12-16 13:21:42 +0100 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-01-13 00:16:33 +0900 |
commit | 40bdfb0a4c4cd3f3af19171d31a6a7e8ab0cc1e7 (patch) | |
tree | 2bd5349a5ff05176c4db7de13a81e1f6c81be7d6 /drivers/gpu/drm/exynos/exynos_drm_vidi.c | |
parent | 8a0d560f3e651808ae0a3d9ab9fe476e59de132b (diff) | |
download | lwn-40bdfb0a4c4cd3f3af19171d31a6a7e8ab0cc1e7.tar.gz lwn-40bdfb0a4c4cd3f3af19171d31a6a7e8ab0cc1e7.zip |
drm/exynos: rename zpos to index
This patch renames zpos entry to index, because in most places it is
used as index for selecting hardware layer/window instead of
configurable layer position. This will later enable to make the zpos
property configurable.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_vidi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 0be29c1b2c05..62ac4e5fa51d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -461,7 +461,7 @@ static int vidi_bind(struct device *dev, struct device *master, void *data) plane_config.zpos = i; plane_config.type = vidi_win_types[i]; - ret = exynos_plane_init(drm_dev, &ctx->planes[i], + ret = exynos_plane_init(drm_dev, &ctx->planes[i], i, 1 << ctx->pipe, &plane_config); if (ret) return ret; |