]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/exynos: disable unused windows on apply
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 9 Jun 2014 14:10:59 +0000 (16:10 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 24 Jun 2014 02:11:54 +0000 (11:11 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_fimd.c

index bb45ab2e7384efaab5eefcf13bcde9724d41b0f8..33161ad382016bac8ad5a6515432c935cd102583 100644 (file)
@@ -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);