Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp328851pxu; Wed, 14 Oct 2020 02:23:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAUTTSd7X8q+6QU2edMY9zC40GDRY+74IMEJ+gRCijGbeQL41Plhu2Yd/VnxTcndKQDvCU X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr4226270edu.156.1602667436945; Wed, 14 Oct 2020 02:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602667436; cv=none; d=google.com; s=arc-20160816; b=pMPLXlQUXKKbS7WbrvQVh+wtK+wex5SxDrsZ+05ggZ2Edlmou0dyTASuI1t8YpgD12 8popfp9DajNDr9Uxz05kyTtXuSZElCGD9bgqfZq5uIQOK22Xg2t5RYbj2zlixrztA4Qy QWfC4CWhmOTgBhLIjpnC2BGLrPaR//W50f9c0n3KlTDF3KgKHZQitEsRb9qNPVLhCCHf CJvAbIy3Q7ELDExLYyCN6Q0IDdxFOuIXnM7kC1Hx9UTYkGZyWhRbNa5+0371E0hvMDlD z8gzoysEPBRpnZ0eII935mfTv97yF960XvRzHvPcYWZnxN2nwEmGQ128REuQDebwQJRa mVbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=hj/dmzhSD6nEq1ECbJRrN5k3Yj70fyLPOHyyW3Lpa2M=; b=CkY3E6rWoAlahayek4x2YuIob4++Lfu6fqXol2iJXU5N4ZyTT12d1WABw4YuwPThNh pEH4U74LhlAKdxwVTJ1zh03lKa78Pt6QhMcwK2B1vRor+1Wkdj8WDNL3ajhElIDzU73L GtUPvXnq+gkesvkbrQe+MN+6UuLW/OvIGUO68XLrhAq7M4BW8YjvtxsH1cedPfr67mEi TYIqVbGPrVTPEdMHZDuKB3I8Vzs2jeYZucdlyXw4pWMKbBTZUrgzXx+kfDhBuHBKu29c JA8oT58dRt4fwQamN48663gR7aUJEJV9/Jozhx9V+FclryntEJPy7u0Ei7bdhDkuC1dt whtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kubmvMu5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id s15si1989943ejy.634.2020.10.14.02.23.34; Wed, 14 Oct 2020 02:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kubmvMu5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727323AbgJNJUb (ORCPT + 99 others); Wed, 14 Oct 2020 05:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730699AbgJNJUI (ORCPT ); Wed, 14 Oct 2020 05:20:08 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 028F6C02524D for ; Tue, 13 Oct 2020 17:37:49 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id a200so904726pfa.10 for ; Tue, 13 Oct 2020 17:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=hj/dmzhSD6nEq1ECbJRrN5k3Yj70fyLPOHyyW3Lpa2M=; b=kubmvMu5gTY7pe6tnlFzYeC3gTJERFLXcbo2oIc2aoaGVmm+rI0CYNxe0OLsyZjRws xiq1KhAlYf0lKT3uew8qUdM2El6LoZ2FsouGYxKdKL2OQNPwgXebCx9wmHNtYiYyZI4q vTh4pcTulPq9jus3R3S/D25hLkJgue+fJuk6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=hj/dmzhSD6nEq1ECbJRrN5k3Yj70fyLPOHyyW3Lpa2M=; b=r9P4iujhYyXfFOm3h5+ToUCTRhgjqfZuXMxLHrcAmEvrznSlK9hGd1fiatfZodwvJQ TJ35tC3uZJrb1DAg0fq0VJoaF7dp5NMlD8Mk0mLKJnSeLr4YHmRPRFCNde4c0VPfiV47 FJJdd9su956ryZDpYpOUvWz6z6C7O0v68bRF5bQIrvEAvxIEorkynK0T8GmNHGTOtLDp 6ur3ddAaLzjmpnSkNMyFv0JRDYl+LVXcyiQhX1G2ixLhoFp+QLBCT5RyMjxB0v1hsifb cx8wuwf62URyW+9JN9pYicJilIBCUuf72PexWF21QwxrAE8nfDhEiH7z1IfXKfI8pJei z+hw== X-Gm-Message-State: AOAM531JVAxLNmG1m73isiGuyhj/zGGhAIclQvKpEUWOPcdwRpjQNRQ0 PUEKNwv7wV/h1kq/V0ycYuAZ0Q== X-Received: by 2002:a62:cd85:0:b029:152:6881:5e2c with SMTP id o127-20020a62cd850000b029015268815e2cmr2060162pfg.36.1602635868572; Tue, 13 Oct 2020 17:37:48 -0700 (PDT) Received: from chromium.org ([2620:15c:202:201:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id u8sm833323pfk.79.2020.10.13.17.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 17:37:48 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201013233544.5324-1-khsieh@codeaurora.org> References: <20201013233544.5324-1-khsieh@codeaurora.org> Subject: Re: [PATCH v3] drm/msm/dp: fixes wrong connection state caused by failure of link train From: Stephen Boyd Cc: tanmay@codeaurora.org, abhinavk@codeaurora.org, aravindh@codeaurora.org, khsieh@codeaurora.org, airlied@linux.ie, daniel@ffwll.ch, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org To: Kuogee Hsieh , robdclark@gmail.com, sean@poorly.run Date: Tue, 13 Oct 2020 17:37:46 -0700 Message-ID: <160263586661.310579.4100614256936519238@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Kuogee Hsieh (2020-10-13 16:35:44) > Connection state is not set correctly happen when either failure of link > train due to cable unplugged in the middle of aux channel reading or > cable plugged in while in suspended state. This patch fixes these problem= s. > This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. >=20 > Changes in V2: > -- Add more information to commit message. >=20 > Changes in V3: > -- change base >=20 > Signed-off-by: Kuogee Hsieh > --- Any Fixes tag? Tested-by: Stephen Boyd