Received: by 10.213.65.68 with SMTP id h4csp795279imn; Tue, 13 Mar 2018 23:35:00 -0700 (PDT) X-Google-Smtp-Source: AG47ELukhh2aW4Kiagv9Z3n+bxPsaJai2HbAtfUF3TliDpY0kNrX7SFBrijEXYqcuq3WvvocY4gb X-Received: by 2002:a17:902:a70f:: with SMTP id w15-v6mr3025196plq.79.1521009300114; Tue, 13 Mar 2018 23:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521009300; cv=none; d=google.com; s=arc-20160816; b=bdK6a2J6vBol0jC0nXwXVG+0jqGqneYEReuAgIu8GZd5XZKOSKOUkKZoGuIijbnqd8 Lbd26uF9jhpWPcnCTwdvha8nOdTevFGbJP/Xs6f6UiUCiF83IR1+WUNg20zcXzKeeDcH nr+e+tVcb82taCUlit5J+iwAk5BJKyQhTAh2NAB21Qi6Yru7+krb+fynpcx4HW21VUY3 jzIb6youATUl3qjpfwNJEdk9Ez5VEIYizdxC0hKLqvALeVfzlz6Ed8KOcFXHn2gKAVlx KKLZhVlV+wZ4XVdz1hL/oFdOac8rXcUJ67IMQcY38mMCljTHsMwzhSolf4hbGvXDKlXF pAYQ== 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-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=Wrcb5/yrpbvw61uxxniLC7NialiVjrFXjY5UQP2SZMc=; b=1CMPT/qcMZjCsRsGZEIQbKwKuMclDyaYU3MmvPyo18LOZWI+oDWQK5Nn6mbAmMaG10 NkEquLOc6yCmjuB55OI2xIm02gThMKNfECRDK5aB2UBT//cJ0NoVVKoiluqu+vggRDcx EvhTsYxHcZz0xTYfuK2M+/pTogJCO2fe8Jy1qCE9CuQ/L8IhJ4+ae7KN8BX6wBmJIs/m 8WQ1yYQfv7zURNWjueSEQ420tjepvjwSF2I4VOhNr3eEMdwTigY483/zoTntqpUdP5Ud V2mPoKKRS8hmjwFWUILRwSIrTeC8YjKSlb0UkdiPQx6KsDQO/ZVdZEacUGAEIiz2pDQl U7Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Aslz/Zww; dkim=pass header.i=@codeaurora.org header.s=default header.b=cX/52qK6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r68si985326pfl.304.2018.03.13.23.34.45; Tue, 13 Mar 2018 23:35:00 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=Aslz/Zww; dkim=pass header.i=@codeaurora.org header.s=default header.b=cX/52qK6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753460AbeCNGdy (ORCPT + 99 others); Wed, 14 Mar 2018 02:33:54 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54066 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbeCNGdv (ORCPT ); Wed, 14 Mar 2018 02:33:51 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 456A46070A; Wed, 14 Mar 2018 06:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521009231; bh=GQ3bchiNsvbiVbkw7c7ppxI5R/Yf468nzYj7CvRzC0Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Aslz/ZwwXfu5CzsrZhgznMZWPF+cc05tdyeZnaL4Wl288aDtEYHbtW8qUH2Z+wu18 9VCian0x+lbCMw38bKtfpl8s8HM7b3sxHrHXeYFTScQE/ouGuVI5xnvHG+voLMOckP 8JjLXtInt/C9/CtuD+Vd3c8cEDb4p/zdREP1nyCU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.84] (unknown [182.71.117.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BCEC360FEC; Wed, 14 Mar 2018 06:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521009228; bh=GQ3bchiNsvbiVbkw7c7ppxI5R/Yf468nzYj7CvRzC0Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cX/52qK6Lf8vbz6tpXTw1CC6e+eMq7/LItOwVQB01+88uCeW3UEJX9EpEVWYo7gE0 8VMj+ZPZRi82QMhJuTcOGmh2vBXdGO9xHlJUXy69vudsOTZYGGu0tVOkM3ppKUeiQd scbt3PSLHi9wAhECti3zxaH/zIyKhuThqN7+wo+c= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BCEC360FEC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=architt@codeaurora.org Subject: Re: [PATCH v5 21/36] drm/bridge: analogix_dp: Fix timeout of video streamclk config To: Enric Balletbo i Serra , 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 References: <20180309222327.18689-1-enric.balletbo@collabora.com> <20180309222327.18689-22-enric.balletbo@collabora.com> From: Archit Taneja Message-ID: Date: Wed, 14 Mar 2018 12:03:35 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180309222327.18689-22-enric.balletbo@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 10 March 2018 03:53 AM, Enric Balletbo i Serra wrote: > From: zain wang > > The STRM_VALID bit in register ANALOGIX_DP_SYS_CTL_3 may be unstable, > so we may hit the error log "Timeout of video streamclk ok" since > checked this unstable bit. > In fact, we can go continue and the streamclk is ok if we wait enough time, > it does no effect on display. > Let's change this error to warn. Reviewed-by: Archit Taneja Thanks, Archit > > Cc: Douglas Anderson > Signed-off-by: zain wang > 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 | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > index 1f1cb624414d..d76e1652b1fd 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > @@ -921,8 +921,9 @@ static int analogix_dp_config_video(struct analogix_dp_device *dp) > done_count = 0; > } > if (timeout_loop > DP_TIMEOUT_LOOP_COUNT) { > - dev_err(dp->dev, "Timeout of video streamclk ok\n"); > - return -ETIMEDOUT; > + dev_warn(dp->dev, > + "Ignoring timeout of video streamclk ok\n"); > + break; > } > > usleep_range(1000, 1001); >