From dcd6df9d93ce7f50c9171473541d5e71aa62366e Mon Sep 17 00:00:00 2001 From: ChiHun Won Date: Thu, 17 May 2018 11:20:26 +0900 Subject: [PATCH] [9610] fbdev: dpu20: fixed decon reg update timeout Change-Id: I5dbdbb4c6309e75a65af402a5eb888df5ceb619d Signed-off-by: ChiHun Won --- drivers/video/fbdev/exynos/dpu20/decon_core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/video/fbdev/exynos/dpu20/decon_core.c b/drivers/video/fbdev/exynos/dpu20/decon_core.c index 5f7a30623ede..ec9df371604f 100644 --- a/drivers/video/fbdev/exynos/dpu20/decon_core.c +++ b/drivers/video/fbdev/exynos/dpu20/decon_core.c @@ -567,6 +567,7 @@ static int _decon_enable(struct decon_device *decon, enum decon_state state) * DECON2(for DISPLAYPORT) start in winconfig */ decon_reg_start(decon->id, &psr); + decon_reg_update_req_and_unmask(decon->id, &psr); } } @@ -1733,6 +1734,9 @@ static int __decon_update_regs(struct decon_device *decon, struct decon_reg_data return -ETIMEDOUT; } + if (psr.trig_mode == DECON_HW_TRIG) + decon_reg_set_trigger(decon->id, &psr, DECON_TRIG_DISABLE); + /* TODO: check and wait until the required IDMA is free */ decon_reg_chmap_validate(decon, regs); -- 2.20.1