From 455c023e8931e697f24e2f24d83fee8422d1c148 Mon Sep 17 00:00:00 2001 From: xingbin Date: Fri, 19 Oct 2018 19:26:08 +0800 Subject: [PATCH] (CR):[Kane]:[factory]tcmd:solve the black issue after disp_util executed Change-Id: I195f474435b8e7cd2fae8b338adcecc46358668b Signed-off-by: xingbin --- drivers/video/fbdev/exynos/dpu20/decon_core.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/video/fbdev/exynos/dpu20/decon_core.c b/drivers/video/fbdev/exynos/dpu20/decon_core.c index fa12f6eda9cf..da62add4d278 100755 --- a/drivers/video/fbdev/exynos/dpu20/decon_core.c +++ b/drivers/video/fbdev/exynos/dpu20/decon_core.c @@ -48,6 +48,7 @@ #if defined(CONFIG_SOC_EXYNOS9610) #include #endif +#include #include "decon.h" #include "dsim.h" @@ -3149,6 +3150,11 @@ int decon_release(struct fb_info *info, int user) decon_info("%s + : %d\n", __func__, decon->id); + if (!strcmp("disp_util",current->comm)) { + decon_info("%s, tcmd test is operating\n", __func__); + goto tcmd_test; + } + if (decon->id && decon->dt.out_type == DECON_OUT_DSI) { decon_get_out_sd(decon); decon_info("output device of decon%d is changed to %s\n", @@ -3169,6 +3175,7 @@ int decon_release(struct fb_info *info, int user) decon_dp_disable(decon); } +tcmd_test: decon_info("%s - : %d\n", __func__, decon->id); return 0; -- 2.20.1