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 5A6E3C7EE29 for ; Thu, 25 May 2023 17:57:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234326AbjEYR56 (ORCPT ); Thu, 25 May 2023 13:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232561AbjEYR54 (ORCPT ); Thu, 25 May 2023 13:57:56 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99410194; Thu, 25 May 2023 10:57:54 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34PG0EXt019837; Thu, 25 May 2023 17:57:17 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=zqLmtibLKU7869PGFrgjEJRIXzWm6C1SWM2UnNl/rDs=; b=hbvENCXCI1I4YJ+Nr98RcWYketC7X6uPMRkQa8mvU0H02Tx4+xd6POkEikroNmb/KSlH LhVUSEXIaVdVAy/v+EXdqbwdUatPp5mhcxifCCKMaWSiTeJa3BR8afcSUCJqVFM8NrNT j1gl4UM7WB1RS49Ko+iuh3nJ8xrhOjv/Ro4cO4ki2lp6UjOfryJwIEmYp3MYF/BXI80Y TwQjCCTAIoihU1206g7BtaXzC6qyZize5utTfDLc3CSChYHOwna8aWXZ2GjtVC9G0Jqv 2ZfOcZBUvjzR3+OyqBhXnGRtr+RKru79QhIdr1TjdD/yilX5Wk1l1kW8Td2XQSoUTbUI mQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qt47es6ag-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 17:57:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34PHvGMT027813 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 17:57:16 GMT Received: from [10.71.110.189] (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 10:57:16 -0700 Message-ID: <7deff127-4c6d-1f59-33a8-f44eea86bacd@quicinc.com> Date: Thu, 25 May 2023 10:57:15 -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: Leonard Lausen , Abhinav Kumar , 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> From: Kuogee Hsieh In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: tvNJ97bIjRQRLiNJT5nPHuQUXfBH6D4N X-Proofpoint-ORIG-GUID: tvNJ97bIjRQRLiNJT5nPHuQUXfBH6D4N 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 mlxscore=0 phishscore=0 suspectscore=0 clxscore=1015 adultscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305250150 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, > [ 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