Received: by 10.223.185.111 with SMTP id b44csp822014wrg; Fri, 9 Mar 2018 14:32:14 -0800 (PST) X-Google-Smtp-Source: AG47ELuObCpDtUPYlGp8Tn2xA7c/PZWNJm0U8dzZxQTYBfJxHoJDKObKwxWMGnqwSIzi0sqgUg2R X-Received: by 2002:a17:902:b697:: with SMTP id c23-v6mr67968pls.328.1520634734057; Fri, 09 Mar 2018 14:32:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520634734; cv=none; d=google.com; s=arc-20160816; b=prK9H2TiAJah3BaVn+oJgSQU1Sb24iqtwXwfZQgq8jLSy1LWr7++t86Z4ix2x+Mr56 n5Ng11IIcxGQHNm89XrauQ3zS65dUq2fYzvZpdFPJgoed5jFshnKxIMaMtQdtoKIehjJ Y70B1UheWIzWYBlw2gdBalQ4r3TKuZGfcFWXI15PBNCoOrpWNFYqwzPuA81SAsONBJgw h8cULox3DehCJmlmGU5dIYwPbyMwzPFTqJ2SIOwxU5INlLeORTEJcdIQICDdsboydyJZ viSbPKxPHj+vKpW14k2ic7WIMbPfcSdnlwIgtU5u3/et7Lpb2H7jKd5uXTQr1RePASZg 5N0w== 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=B9Iah4jzYpLSi07FNaQchPYCktbIWHIOM1VchQ2azWo=; b=LIzfgqb7xnNGzDiySTi/JEprZ2weR/Qvq3mQa3M6qPSuMVYyNLLmCgrWkUUSpQXjgc Ko6MUfFQBTi9FsqxJ2r06oPNR31mDqqwdsf8N9rL1MleXjl4v2EMiawpcng/Xl6mUV0b oMYuqtk4JQTvkUViVwqwOGQS0hom2nVup3gfJQuLHwTKMQIQL2PeNWTMty5J6q6/kx0z A+xS8MYBpCp+Hf2HBXV90UQPD9qU8oU3VWY/B7SIk1yYVwqeDJVYIZBZQb7tv8joZtK7 RHd5vQ2fDEHKQujW+/f/KJt3H9iW8FDK326Yf//Br64voWZixy3rgfZCOyaiyU3xVcei eQJw== 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 r23si1336639pgv.368.2018.03.09.14.31.59; Fri, 09 Mar 2018 14:32:14 -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 S933001AbeCIWYZ (ORCPT + 99 others); Fri, 9 Mar 2018 17:24:25 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42568 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932959AbeCIWYU (ORCPT ); Fri, 9 Mar 2018 17:24:20 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 2AE242792D9 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, ykk@rock-chips.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, linux-input@vger.kernel.org, orjan.eide@arm.com, wxt@rock-chips.com, jeffy.chen@rock-chips.com, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com, 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: [PATCH v5 14/36] drm/bridge: analogix_dp: Extend hpd check time to 100ms Date: Fri, 9 Mar 2018 23:23:05 +0100 Message-Id: <20180309222327.18689-15-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309222327.18689-1-enric.balletbo@collabora.com> References: <20180309222327.18689-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 --- 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 3a222e7e46ee..6cbde8473f58 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.16.1