Received: by 10.223.176.5 with SMTP id f5csp3429290wra; Mon, 29 Jan 2018 13:03:29 -0800 (PST) X-Google-Smtp-Source: AH8x227wavLFU8/Gx7vkcHGxelBRbtQ7itJEmL9jx/lBaVdiC8vmhnHtfe6/OGU+cAiGod3i9Z0f X-Received: by 10.99.129.199 with SMTP id t190mr13824795pgd.120.1517259809162; Mon, 29 Jan 2018 13:03:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517259809; cv=none; d=google.com; s=arc-20160816; b=rUTmPTjCMYCPk1kYPMSzByCdMuPnzmdv8pBzXHGV6lYsXB8wc4fnS2R1FQp2HCw8ZC FG2/uhsFqMdQXicsK37V+7Oa+9f3Ojtro4nYKiPdCf7WyocPeTkMzQnGIttewFypHJpt rl9fmfU0i+hH4+ny27zlLl5/FoDkyZVLQa4V1bQcdpvT7uk41gr90tEoSo7rKCNEK/KR /r3ahtfIMFuGamIQnHxeM62N34HhrwABeq6as7MrK2cCvwbKTkPEtbMY0oow1bsvqD5X jZ2ExD2aryxZvGgMeQu1Q/be1QSyWMVDiZ06MBeGVtXkwFfnCI8nB5CHW0KzQqcmHKy4 t9mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=vE2MZ3Xa0jOnobjgmTYU5ElXSJfuuB1UdSPExEb+bSY=; b=PcWvOnVWnWZLjCzurOyGg0FUVL8AjFmb/yhq60kMc3BZFX2eyRMOybjfAFC9SW/7vU adhox+IoAl09E9hear80z47cFjjWHChyFufLeCZCra0wzcZ6HeBESNtPfXuJzBSsKEcg sFIJHi161bWbTpoWlKQYvnmh5PDZY7CtAlGyV4kizDPDSK2HLyWMZnyN2O7A0ZPcN7fK 2OaI7ChryzUfsyc1jXk+6vEKdyg0r4f/PqZo5IBigRN97N69rV1KgkfXvI0AGYrX5/yF zKnrhT716zFf7SVXvNz3ZuXyfjsgY2ermhpRQdPqlGxlGg6aUPgBshfq6LSK6+abRXYP 1LcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WYijjFcg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15si86610pfh.258.2018.01.29.13.03.14; Mon, 29 Jan 2018 13:03:29 -0800 (PST) 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; dkim=pass header.i=@chromium.org header.s=google header.b=WYijjFcg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752063AbeA2VCu (ORCPT + 99 others); Mon, 29 Jan 2018 16:02:50 -0500 Received: from mail-yb0-f195.google.com ([209.85.213.195]:39107 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbeA2VCs (ORCPT ); Mon, 29 Jan 2018 16:02:48 -0500 Received: by mail-yb0-f195.google.com with SMTP id 65so3346616ybz.6 for ; Mon, 29 Jan 2018 13:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=vE2MZ3Xa0jOnobjgmTYU5ElXSJfuuB1UdSPExEb+bSY=; b=WYijjFcgW6YHru5188H1NOOlQalR8cSZmBiEH0nKzCy2XMG3hGaWqv8LeUtg5aZMST u8pQ5Ge1CTDc46T05YSOTUV1+2fCR2FhDL5u6MZxJQBORdTGV7+1c3e2hM3eu4GLgCDL zUmsWS8TbGiL0RMuLkXfDU05zWKia/kKdhS8E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=vE2MZ3Xa0jOnobjgmTYU5ElXSJfuuB1UdSPExEb+bSY=; b=JHhSEEJv07wBXSKaoVs9S9gnvdi5FBFHiAgpfSh6TJA8CNYtahiHMvcgyckNZM9dxS qIPJHjNNHid8pxC+Ih9tnODV1YJAik/2a+FK4ajACH5G7IX0P7LnyFStKkUcYCP3OFIv 2MPA1UCk5PM8NuYyrh6MueqtVovSq/mt+s0hKzxOZQlHJrHRmxwudZaIo4CxCIAwi3XT OvdT9OkeyCjIKIsweVmZDNemTLlNc44xhzg74bTU1MH6ES8b5ny1sSJJ47vd8/l3pKYf t1UWHXpdSrnX54HrJ2c8P5eY3MDXyMNzsU1x9g0dQd4CGAD3IOVJzvAxClMdlSGQ6+6H 0hFA== X-Gm-Message-State: AKwxytcSlzz5QQyrpSPHYv/npMXn1zdDIMuunBj2o21jKhvktHsqLgkv a1sUxT8J+zwxYlrtpGHzWYTlBg== X-Received: by 10.37.43.66 with SMTP id r63mr6934083ybr.102.1517259767130; Mon, 29 Jan 2018 13:02:47 -0800 (PST) Received: from localhost ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id v3sm4699657ywi.55.2018.01.29.13.02.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 13:02:46 -0800 (PST) Date: Mon, 29 Jan 2018 16:02:46 -0500 From: Sean Paul To: Thierry Escande Cc: Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , Tomasz Figa , Haixia Shi , =?iso-8859-1?Q?=D8rjan?= Eide , Zain Wang , Yakir Yang , Lin Huang , Douglas Anderson , Mark Yao , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 20/43] drm/bridge: analogix_dp: Extend hpd check time to 100ms Message-ID: <20180129210245.cpalhgdzjkvdwehn@art_vandelay> References: <20180126131710.7622-1-thierry.escande@collabora.com> <20180126131710.7622-21-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180126131710.7622-21-thierry.escande@collabora.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 26, 2018 at 02:16:47PM +0100, Thierry Escande wrote: > 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. The commit message doesn't align with the code here. The code below matches the code in the CrOS tree, so let's just fix up the commit message. > > Cc: Stéphane Marchesin > Cc: 征增 王 > Signed-off-by: Lin Huang > Signed-off-by: Sean Paul > Signed-off-by: Thierry Escande > Reviewed-by: Andrzej Hajda > --- > 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 fa4ef28e286f..9df92dc54dbe 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.14.1 > -- Sean Paul, Software Engineer, Google / Chromium OS