diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-03-15 15:41:05 +0100 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-06-01 16:21:34 +0900 |
commit | 2c82607b56ad7035077dbb0d37093d8f2b21e235 (patch) | |
tree | 7fd1650a6e280baedae897ff761662d6c98732a0 /drivers/gpu/drm/exynos/exynos_drm_vidi.c | |
parent | f44d3d2f84d6bc6b685f40a18e08b4bdcaf3d1ef (diff) | |
download | lwn-2c82607b56ad7035077dbb0d37093d8f2b21e235.tar.gz lwn-2c82607b56ad7035077dbb0d37093d8f2b21e235.zip |
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_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 68870a938442..92ebeaf50cdb 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -407,7 +407,7 @@ static int vidi_bind(struct device *dev, struct device *master, void *data) plane_config.type = vidi_win_types[i]; ret = exynos_plane_init(drm_dev, &ctx->planes[i], i, - 1 << ctx->pipe, &plane_config); + &plane_config); if (ret) return ret; } |