Received: by 10.192.165.148 with SMTP id m20csp3279691imm; Mon, 23 Apr 2018 03:59:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx48jQAdtSJNNEkFe5MNVNI/DW7YL9+eYZFEjIYmakixMyHtEK9Ai4IL6uK06xmrKkQ4znDkp X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr20969704plg.38.1524481194316; Mon, 23 Apr 2018 03:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524481194; cv=none; d=google.com; s=arc-20160816; b=qun+bN3ZiRNA8ViTauuazfJglY9RpO5BlWcGgBEVNB3Fleip9wBj6PFp570hNnMPoB crvVXGmBtq1lMYHFNOmAGJubmRoLYW2REj6bRC7e3YdZMQbrrHX+3l6J04HvrAV6aojv Kd/j+hOpNSvM3PFm9+sQ8pa+MmTN3A+UCxl7dWpwLcLKksxR2cie8/RbH2hIff3Chq6o Vr+rpvZRC5MUh1C1On3eS1nWF9sl3GZw8txtrZZd0pA1qj2Uqr1+x1lIs+J1aiIUwWLv 8DIeDcwsfFwa2ozvFCcbnp3HNba0e3VZEbjZpPJm8gQrM2wzJx+Ofwl4K9nXDIKXYvhq WS+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0O/LuQB7DMfhzDz0AUGiF4LeiBgFtjnWqUKkPZvq9yw=; b=EeQu9OCeaLZAnHBV5flSY7SEQCEhOTaEsiajNRs6H8C/lc3CFCamNtmvy8pHMGWdf4 RZsNfGwM8bNtspgDZx4MuQjn6qWcDnu24qIMfOaBWxX1bL38I0kbOPPP+v4NLkPSk3Tr ZNokqRO+ucHjRcFa8lcy3Mh60hkFTHGKpQ5pxmMg8U9gn4XAbm/Tfz853QmBIk10s7bc jOK+tuJ6RwrXRSZZGLzz6GhNG9BUNNyOPftQn6z8o9z+V04KhXRfH4zyaPwby3DzugDI z5avjDyg9SaMgusovyugjtZSGI3Cng2LeA/fdcruWQF79HhaMRvK1JXax3CSeLLERO/4 Wgjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si6115511pfk.82.2018.04.23.03.59.40; Mon, 23 Apr 2018 03:59:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755010AbeDWK5x (ORCPT + 99 others); Mon, 23 Apr 2018 06:57:53 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38642 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754767AbeDWKue (ORCPT ); Mon, 23 Apr 2018 06:50:34 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 8A1CF27C9E3 From: Enric Balletbo i Serra To: architt@codeaurora.org, inki.dae@samsung.com, thierry.reding@gmail.com, hjc@rock-chips.com, seanpaul@chromium.org, airlied@linux.ie, tfiga@chromium.org, heiko@sntech.de Cc: dri-devel@lists.freedesktop.org, dianders@chromium.org, a.hajda@samsung.com, kernel@collabora.com, m.szyprowski@samsung.com, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, rydberg@bitmath.org, krzk@kernel.org, linux-rockchip@lists.infradead.org, kgene@kernel.org, orjan.eide@arm.com, wxt@rock-chips.com, jeffy.chen@rock-chips.com, linux-arm-kernel@lists.infradead.org, wzz@rock-chips.com, hl@rock-chips.com, jingoohan1@gmail.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com, Laurent.pinchart@ideasonboard.com, kuankuan.y@gmail.com, hshi@chromium.org, =?UTF-8?q?St=C3=A9phane=20Marchesin?= , Enric Balletbo i Serra Subject: [RESEND PATCH v6 08/27] drm/bridge: analogix_dp: Extend hpd check time to 100ms Date: Mon, 23 Apr 2018 12:49:44 +0200 Message-Id: <20180423105003.9004-9-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423105003.9004-1-enric.balletbo@collabora.com> References: <20180423105003.9004-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lin Huang There was a 1ms delay to detect the hpd signal, which is too short to detect a short pulse. This patch extends this delay to 100ms. Cc: Stéphane Marchesin Cc: 征增 王 Signed-off-by: Lin Huang Signed-off-by: Sean Paul Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda Signed-off-by: Enric Balletbo i Serra Tested-by: Marek Szyprowski Reviewed-by: Archit Taneja --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 5957e2338071..1f4f34149019 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -76,7 +76,7 @@ static int analogix_dp_detect_hpd(struct analogix_dp_device *dp) return 0; timeout_loop++; - usleep_range(10, 11); + usleep_range(1000, 1100); } /* -- 2.17.0