diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-06-09 16:10:59 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-06-24 11:11:54 +0900 |
commit | d9b68d89c2562814aaf67b890709f5aea4f7bf28 (patch) | |
tree | 44e7f610482638ac8b826e916b21342ba1e9de4c /drivers/gpu/drm/exynos | |
parent | 0013fc9e550a0f9d2c4a19e553292680b6fdb283 (diff) | |
download | op-kernel-dev-d9b68d89c2562814aaf67b890709f5aea4f7bf28.zip op-kernel-dev-d9b68d89c2562814aaf67b890709f5aea4f7bf28.tar.gz |
drm/exynos: disable unused windows on apply
The patch disables non-enabled HW windows on applying
configuration, it will allow to clear windows enabled
by bootloader.
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')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bb45ab2..33161ad 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -741,6 +741,8 @@ static void fimd_apply(struct exynos_drm_manager *mgr) win_data = &ctx->win_data[i]; if (win_data->enabled) fimd_win_commit(mgr, i); + else + fimd_win_disable(mgr, i); } fimd_commit(mgr); |