Received: by 10.213.65.68 with SMTP id h4csp1741399imn; Thu, 5 Apr 2018 03:02:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx49MSRTUSkb6sdPP4mEywSLDUb4JVOX1o4U9NVe9DYGQDsA7YVgCvlx8LbpXopndGX32w+hs X-Received: by 10.101.81.204 with SMTP id i12mr10751026pgq.206.1522922559970; Thu, 05 Apr 2018 03:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522922559; cv=none; d=google.com; s=arc-20160816; b=VzJgisNYIjCio07KhytcpF2qGgC6QZ8oeoujH8U9QSrwzWA9oUCWFvIYz6tApaiz0E d9tgbUknq0CBoTt04f29wLtZHNxg1FbVC42fMz0w9EDls7WNhv/pLtzo7H4dHVxsOUkD ZmAVEmZ2g5ObIy/MoFn2plbwLGISXIdlT5vSuhkqbLRsvECjNZg46MkdTbyvYoiDpaW6 VOvU/qoC7zkoyJ+6dJpXU0ekdRxeESPX707dhLFbw/pqWLshGqQ1fXsLRiK5uQWtlE/9 V0R7ZPgKLUv5ZYBqzks9zzBJxqo3YVpPIV7CkWLRo0dYb8R3bEUU/BI809h9XrcYcU0O luWA== 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=iWv6QPfyfzSZKGDNkXcucApSn1I/R0qJD0b3PfRgf/E=; b=LpSdxrk90cmfAZlhAPfyGOgPWMgBbDRrUq+7Xy1NJlMWks1L1aXIEG4VCliNBE1qJp ErPE05RuBax4YThWgue+1su5VDGVQI+l0s7sMTWTaORYZJtejpZOdMVJzdpQUTVYIsHg AEX0KLvPN2Zy8lTOWEPAZWEX0meXaafcgMLMfdZzPak/fsvCF4lswUwDUEBfjKqKzq2k tT59gfu8hhZlLvL0CDZusRm8BP3r4kMgZrrCNasHSrbq33Eo/IcpfxZQMUuIF51za5Fb zjdeMk1HsYPdKZugzO8tBS+V/1YbhDVpx74vnL50NGt6pR3KxJInO2OR5pX4xLqbpor1 E6fQ== 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 p12si2942101pgc.760.2018.04.05.03.02.25; Thu, 05 Apr 2018 03:02:39 -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 S1751649AbeDEJud (ORCPT + 99 others); Thu, 5 Apr 2018 05:50:33 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60650 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530AbeDEJub (ORCPT ); Thu, 5 Apr 2018 05:50:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id A61012779F0 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 v6 08/30] drm/bridge: analogix_dp: Extend hpd check time to 100ms Date: Thu, 5 Apr 2018 11:49:38 +0200 Message-Id: <20180405095000.9756-9-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180405095000.9756-1-enric.balletbo@collabora.com> References: <20180405095000.9756-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.16.3