diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-03-15 17:41:05 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-06-01 10:21:34 +0300 |
commit | 2c82607b56ad7035077dbb0d37093d8f2b21e235 (patch) | |
tree | 7fd1650a6e280baedae897ff761662d6c98732a0 /drivers/gpu/drm/exynos/exynos_mixer.c | |
parent | f44d3d2f84d6bc6b685f40a18e08b4bdcaf3d1ef (diff) | |
download | linux-2c82607b56ad7035077dbb0d37093d8f2b21e235.tar.xz |
drm/exynos: set plane possible_crtcs in exynos_plane_init
All Exynos planes are assigned to exactly one CRTC, it allows to simplify
initialization by moving setting of possible_crtcs to exynos_plane_init.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_mixer.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 1474982e94a9..3722b5ffabd1 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1154,7 +1154,7 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data) continue; ret = exynos_plane_init(drm_dev, &ctx->planes[i], i, - 1 << ctx->pipe, &plane_configs[i]); + &plane_configs[i]); if (ret) return ret; } |