Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1359059rwd; Thu, 25 May 2023 11:22:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66olGZ/5AQJym3+idawT6c41r+Z8OwPYGhz1SXr/DaVxdmfrw1Sa4ERgUTS22EcbsWXWkW X-Received: by 2002:a05:6a20:2453:b0:103:558c:516 with SMTP id t19-20020a056a20245300b00103558c0516mr20783665pzc.55.1685038962150; Thu, 25 May 2023 11:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685038962; cv=none; d=google.com; s=arc-20160816; b=MSzdkZf41P1GQhARPyvm7ayS6eXavCf1KF/pWOWO4Pa35qvc8WqjVqOLIiK+MwMjZ1 AjE2KN1BSjsL1rLlh6zXyKVcZF03j/EgGjvfJHwN9PKBhjN8HgCg6rCpLuylx7pXSDaj 8nfdTTFM2Xj6UI3V3Vd/NIQOR4ZwkWkpQiAPB1dvgWzosM9gDPr4n2gAlaSiSLznKMuq QxYqVkY0uNK8Kl91VM/zUibC7LbyufhDsc3ReRExbflNDByG54q9WTm7GXX4S+9rKukU DpO4anEz0aQYt0mk2qtmU8PlslEXiFEZJbjAScG3hT/5siNTAHXdd4yABvb8E+xAtlzo C1+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=k/r0fgBjSAJae8JY6gVMJ84uFagaJuMzHr7EblkGMp4=; b=Sg/Hiiwy+skFL/KKCbi5fbjrCRPeV1O7DdTcvlFTnXUywpeoIr6jS2iBsMPByEUJCX o3tjuNsY7QWEaQKuNy2r0YjGHdjEBpk6EMikLuVNUeT8yr7vLvMr6+7JBz5/yaCcgw5E dFeUwcK1EIv9g/YBTtO6zvTsYqlsBp7/azlIzpU9XOL09dmBd1j/8+OcjbsH6DatLjty W5Mc3Ijir+uCWLICPW4PCtKNF1/xhxko5s4mBY/ADZ2tp+fknVF8CfZWqGtQtUwRXo6U i4Q3Dh7fPm31VnGeDhCGMiPo6LuELG3lXUTZ54sU1LbPc8/0DlxzGYa1DxHsZeITD+rs UwZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jD6v+OtL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a17090aa41500b0024e500f373fsi771442pjp.82.2023.05.25.11.22.26; Thu, 25 May 2023 11:22:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jD6v+OtL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233392AbjEYSLI (ORCPT + 99 others); Thu, 25 May 2023 14:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbjEYSLH (ORCPT ); Thu, 25 May 2023 14:11:07 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 202AC125; Thu, 25 May 2023 11:11:03 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34PFBTQ4021226; Thu, 25 May 2023 18:10:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=k/r0fgBjSAJae8JY6gVMJ84uFagaJuMzHr7EblkGMp4=; b=jD6v+OtLZcXOW9wbp+1alveyseHuTlfVrg10JQqSVAw5fJAmu5L3kRJMzKOmH9q26mzT fm/6b7USpD//OWLCmT7zyfc6bvE7Dm8ZbNLAubpuFHPFj8vOUFDU0eSSyDslsittK9th NotVnmyG/7z/kVsNCHOTBGarSihElmLz2JozbmbHgicL7n0vL/oXMvMzoSZbmfpCYG+R tkHXlqCg/fWAtcbKUJfmrMfCu18ZpKxi1Efs4yys3Ux1cwrO5hhh+YwRG34q5wR5xNsx RDIrfvJzZWu6dhs/vUN/5NbFzB7zHTqk67RM8/N6V9NrvW3uBhQSnjFLN7ZQkTnYQIAb og== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qt8tarn2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 18:10:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34PIARC1012425 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 18:10:27 GMT Received: from [10.110.20.135] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Thu, 25 May 2023 11:10:25 -0700 Message-ID: <208f05b3-ed92-5b22-6200-8bb28d62fd77@quicinc.com> Date: Thu, 25 May 2023 11:10:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [Freedreno] [PATCH] Revert "drm/msm/dp: Remove INIT_SETUP delay" Content-Language: en-US To: Kuogee Hsieh , Leonard Lausen , Dmitry Baryshkov , "Bjorn Andersson" CC: , Sankeerth Billakanti , Bjorn Andersson , , David Airlie , "Nikita Travkin" , , , Rob Clark , "Daniel Vetter" , , Stephen Boyd , Sean Paul , Johan Hovold References: <1345a125-f745-4fe3-0f5e-bfe84225958d@quicinc.com> <20230508021536.txtamifw2vkfncnx@ripper> <3802269cd54ce105ef6dece03b1b9af575b4fa06@lausen.nl> <49d175ec16e3f65a18265063e51092ee8d0d79c1@lausen.nl> <7deff127-4c6d-1f59-33a8-f44eea86bacd@quicinc.com> From: Abhinav Kumar In-Reply-To: <7deff127-4c6d-1f59-33a8-f44eea86bacd@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: dWDv8Ky6LVDFNGnQw98blBLLg0kw7kTl X-Proofpoint-ORIG-GUID: dWDv8Ky6LVDFNGnQw98blBLLg0kw7kTl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-25_10,2023-05-25_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 adultscore=0 mlxscore=0 spamscore=0 phishscore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305250151 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/25/2023 10:57 AM, Kuogee Hsieh wrote: > > On 5/24/2023 5:58 AM, Leonard Lausen wrote: >>>>>>>> [  275.025497] [drm:dpu_encoder_phys_vid_wait_for_commit_done:488] >>>>>>>> [dpu error]vblank timeout >>>>>>>> [  275.025514] [drm:dpu_kms_wait_for_commit_done:510] [dpu >>>>>>>> error]wait >>>>>>>> for commit done returned -110 >>>>>>>> [  275.064141] [drm:dpu_encoder_frame_done_timeout:2382] [dpu >>>>>>>> error]enc33 frame done timeout >>>>>> This is a different crash but the root-cause of both the issues is >>>>>> the >>>>>> bridge hpd_enable/disable series. >>>>>> >>>>>> https://patchwork.freedesktop.org/patch/514414/ >>>> Yes, the new patch to fix this issue is here >>>> >>>> https://patchwork.freedesktop.org/patch/538601/?series=118148&rev=3 >>>> >>>> Apologies if you were not CCed on this, if a next version is CCed, >>>> will ask kuogee to cc you. >>>> >>>> Meanwhile, will be great if you can verify if it works for you and >>>> provide Tested-by tags. >>> Hi Leonard, >>> >>> I had  cc you with v5 patches. >>> >>> Would you please verify it. >> Hi Kuogee, >> >> thank you. Verified the v6 patch fixes the regression when ported to >> 6.3.3. One non-fatal issue remains: Suspending and resuming the system >> while USB-C DP monitor is connected triggers an error, though the system >> recovers within a second without the need to unplug the cable. >> >> [drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-107) >> >> >> dmesg snippet related to the suspend below >> >> >> [  197.845110] usb 2-1.4.4: reset SuperSpeed USB device number 12 >> using xhci-hcd >> [  198.235191] [drm:drm_mode_config_helper_resume] *ERROR* Failed to >> resume (-107) > > Hi Leonard, > > I did not see this problem at my setup (Kodiak) during suspend/resume. > > Will investigate more on Trogdor device. > > Thanks, > Hi Leonard Feel free to open a bug for this and assign to me, we can check this and ask more info if needed on that bug. Thanks Abhinav > >> [  198.528638] OOM killer enabled. >> [  198.531866] Restarting tasks ... >> [  198.531994] usb 1-1.4.4.1: USB disconnect, device number 27 >> [  198.532223] usb 1-1.4.3: USB disconnect, device number 23 >> [  198.532509] usb 1-1.4.2.1: USB disconnect, device number 29 >> [  198.534805] r8152-cfgselector 2-1.4.4.2: USB disconnect, device >> number 13 >> [  198.535444] done. >> [  198.535536] usb 1-1.1: USB disconnect, device number 15 >> [  198.567811] random: crng reseeded on system resumption >> [  198.583431] PM: suspend exit