Received: by 10.223.176.46 with SMTP id f43csp688588wra; Fri, 26 Jan 2018 05:25:37 -0800 (PST) X-Google-Smtp-Source: AH8x225IIJU5//zEK1CNE91rQ9In56XIMhI7sJm8eRkSexJ5M35fPSuwJtyEaOL4JcvQolGW+DtO X-Received: by 10.98.224.3 with SMTP id f3mr19315893pfh.205.1516973137588; Fri, 26 Jan 2018 05:25:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516973137; cv=none; d=google.com; s=arc-20160816; b=FbUxrUphKLL+0+ZC7suZk2IyDhbKU0jurHO1lxGKaTGQe0d6gkT+hL9kks4y8tdgCs WSNQOD4x3a+QP01363bzsad8clL3SNMN8unc15m5q/oON5tmQdK8H/lbcFiwegyZRcIg W34T9vRBqTvp1cNG7EKtK0X2HofuajWhpHTkyCG8PK6nLFXwhJ1zh0ZpzodGSwAmDQTs mKLbE0XW90Ae6lgcX+f1WfDniQ7/s+KFz38EhUCwNsO2M6veHgfJYWNFngobd1O0x7Ic q7zP7QtSJKiLvne34MIKjnELUaZ1IuhOfnCZZRrL2BnzOaYodbIUY407kLNdKdW5/5Ec yzoQ== 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 :content-transfert-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=AHtZvxa7Ac0R/bL8pSJfrt7c0QnjmAu+n8Cj84nVbEM=; b=Tm38pHLHg+OcKB3CgM/Cx+KTWE9E+XIlf6PvB7shRpMWqgnxhCJX7BtIz6ifU6N2tD PMOvLi7/jpveichJI/ZkysEDlfNYZviQylP5tupmTjO8VoMchsHhnpHWIgWt1YC0aNOQ E/Boru3pOu2+tjlEv6+7YZpZzCZN2nB4lSZgVagwkUfIAgE+fIR7KFfqgMPeF4vTgWu/ u8B9v/2yHowqcW6COHienEP6Rnnk0Mqc/kr4QaHki5coKvWj0NV3A2ZvGhmRRaEUmO9B U4eWxVoRV2QyXx7ykpOsGM7nC0ZiAT41FPjcaiY72BO7MNfjp1Q6E7wXrIXXaoUhd8H/ OOsg== 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 k130si3012875pgc.358.2018.01.26.05.25.23; Fri, 26 Jan 2018 05:25:37 -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; 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 S1752830AbeAZNXD (ORCPT + 99 others); Fri, 26 Jan 2018 08:23:03 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34516 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbeAZNRw (ORCPT ); Fri, 26 Jan 2018 08:17:52 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e35:8a7e:4790:a8d7:ca4:7b4f:7f87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tescande) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 65505274807; Fri, 26 Jan 2018 13:17:51 +0000 (GMT) From: Thierry Escande To: Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , Tomasz Figa Cc: Haixia Shi , =?UTF-8?q?=C3=98rjan=20Eide?= , 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: [PATCH v2 20/43] drm/bridge: analogix_dp: Extend hpd check time to 100ms Date: Fri, 26 Jan 2018 14:16:47 +0100 Message-Id: <20180126131710.7622-21-thierry.escande@collabora.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180126131710.7622-1-thierry.escande@collabora.com> References: <20180126131710.7622-1-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit 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 --- 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