summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-12-09 10:52:15 +0100
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:54:33 +0900
commite45f55759e7b7058a41a9e9210c20025239eddc3 (patch)
tree8dc91785b928b08e260e6e6fa6bf95f4c5ae48af
parent362ffb29c0a132075d96f76714b4be884c8110ba (diff)
drm/exynos/decon5433: do not stop DECON before reset
DECON fails to stop in reasonable time in case of interlaced mode. But since device is reset anyway this step can be safely omitted. Change-Id: I15a78685c9573b9799ac63b7810ff3655763e461 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos5433_drm_decon.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index c8593bbd0e3a..6842c1c970b6 100644
--- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
+++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
@@ -555,15 +555,6 @@ static void decon_swreset(struct decon_context *ctx)
{
unsigned int tries;
- writel(0, ctx->addr + DECON_VIDCON0);
- for (tries = 2000; tries; --tries) {
- if (~readl(ctx->addr + DECON_VIDCON0) & VIDCON0_STOP_STATUS)
- break;
- udelay(10);
- }
-
- WARN(tries == 0, "failed to disable DECON\n");
-
writel(VIDCON0_SWRESET, ctx->addr + DECON_VIDCON0);
for (tries = 2000; tries; --tries) {
if (~readl(ctx->addr + DECON_VIDCON0) & VIDCON0_SWRESET)