From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70E7DC7EE29 for ; Thu, 25 May 2023 18:11:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234954AbjEYSLJ (ORCPT ); Thu, 25 May 2023 14:11:09 -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 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