From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BEB791482F5 for ; Wed, 9 Apr 2025 15:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744211344; cv=none; b=ZQ2Y3ve3P12kCipIO1K6LYwKMKDATyIzxIC0zYTXwx6MMpc/ZT9j7CY7DcR0PssCVpfOci5u1+BL7DbSXx2Xie1GE97RQIH1tRAfraosYmS/E+0wf0+VZi9v6fF7DHqoSM5e8NXj7S3gyfSDvjymMQ/UDoI6NzaqRDzHQWHyFJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744211344; c=relaxed/simple; bh=zcGWZwy+nuORNV+F/ThZjfFW0lE2rDvhpV1x9HexZ5w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pzh6nci6wS0i/SIIJxBxQMzQOV4kfs05K2XirOqOdYwitkCNZvvWZcCGx1yjnB2oYiAXljdHfPi6A90zXswKiolHRro71YQQPM443bAFhFsn6gX7mVxYc8z9/Y0eHc9/7S3IY0mbJsuRbwh0RSX+RvkKsqOp6vfzEM4pxVBWzMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=EfpnjdFK; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="EfpnjdFK" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5398NZ3f022898 for ; Wed, 9 Apr 2025 15:09:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ZM49O2ioHcxPJFgz0BW7OWFv9D0F8HSwleBnH7gV14s=; b=EfpnjdFKzGCqHJEN Ma/mOBmSYSbE/oWDxhUGfjgKLsaLrT7haeMHc6DuaLFAaUTf1Rgmfr4kGnwJMNZp iIQxKlLT0tzeg8Qton673zuoj8X8AsnHcbwsDyXDdQG68/zAkephLqY/V1Yur2g+ y1TBsGfnEznmvp/YydzaD0uxRqkpIiG7OG+qX/SPY3rXuoWCFbzky0bfRQBW8pfJ AJH327Xmon8PrmBGBoK0rLCOKaa9NDumDOv2TLVL8ipaiJQsWiWfx34CwiAvAgE2 BPCcRA2Cbq9Bc/G7a4L00twnwaVQ93L2sLu4SQ2I0XSxMO67tiUMtBMC6PyuSJET 0MTMeg== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45twd03vef-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 09 Apr 2025 15:09:01 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-7c54734292aso162619485a.2 for ; Wed, 09 Apr 2025 08:09:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744211340; x=1744816140; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZM49O2ioHcxPJFgz0BW7OWFv9D0F8HSwleBnH7gV14s=; b=DBQRfM0dTJmSzu/2dkpn1n2g0th4M5J4LEBy1f2clivHIXE0R9PP6TMw1vFPcBJv4G lDGZ1KauNNY4V7VbbfCjGKRtHrB7ZLDYBRL04lpEqgzhvMaVrF/KFuAQEy7zHNXihJfb U75cONng5KEg80HMGKyQ5sucoUfqXKNeqZ4Q3gfxaw5Nrv0Pti2xgQOhBls41PYOTI9y 9dQXHR8dxwQs/1Qogku5VR2NsKqhQE7UUvNuSaKLjAO8FeevnwnhsNT2qow7CEJf3/+9 XpHtd31UwQJDRSiL83//Um+enSdObIimboNpBm0HJL0rMDEVGVEdPBW9F4m4atgBKxNE bxcA== X-Forwarded-Encrypted: i=1; AJvYcCXSi66f4DxG9PS6cOoITeJS2k5MLO8jzzSN9DjEERBFMGcXzTAN2IjSxBTVoeLdAxfdOCnfJOh+6JMi5mQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yyu5Kvj6HzZmLT35qWwD889iCseULQwQDwJYv+tr7tpCQwv87x3 i5Xg+65uq7mhj851WwHGrnt4m9cRqH3l/p+eE9hgN9ZOI2ueWt6uV52onV805aFEvDUF1FqX4al YiD1zlDWz1gfneg/VQkkXl7tfdB+WjptOQaPIvDmlvREDV3AiW0gQB0VUq25mlTg= X-Gm-Gg: ASbGncuxavY18FMbfGXtA/hczwmfTuiSeS4PWLc2p/cthTBtHQItAM5WdWI+HEyhuRl CUWDmqdInZXb7TEdbKL64grRGd6z4zRhgHf/GuZ6stgkMgU7goTrvYSVTs5iB3n2O8CXUpn12B0 YLbOgWEkRzoMbylPSlswEwRQ0duA9CFxksWfYAXbG7JxTiWB/oNlTAsKPFP17YPPU1hU+ZUxz7n I3vggBBgMEtpcozO2O706D0DpGUZwSAqTL9u7SvnmuEC4s3RvqHPjvydZY3pAvt2IxJZIosJTQ4 9uFGMbPDiM995TstUTwMiekHHodBK8ToLuNStvbdtPXmvqw81tZaIhga7O6IKYB7uA== X-Received: by 2002:a05:620a:2805:b0:7c0:bb63:536c with SMTP id af79cd13be357-7c79cbd8ad2mr156919485a.4.1744211340663; Wed, 09 Apr 2025 08:09:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKqxp7rcrINyn8M6wMLr3P4dzZIUo2PduztsqFYTGLMrH5xZk1qXZ1BhuOXgUr9MLv4mhnXA== X-Received: by 2002:a05:620a:2805:b0:7c0:bb63:536c with SMTP id af79cd13be357-7c79cbd8ad2mr156916885a.4.1744211340304; Wed, 09 Apr 2025 08:09:00 -0700 (PDT) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acaa1cb425csm110988066b.104.2025.04.09.08.08.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Apr 2025 08:08:59 -0700 (PDT) Message-ID: <0d1aaba8-7736-497e-8424-84489c637914@oss.qualcomm.com> Date: Wed, 9 Apr 2025 17:08:55 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/7] Support for GPU ACD feature on Adreno X1-85 To: Anthony Ruhier , Akhil P Oommen Cc: Rob Clark , Sean Paul , Konrad Dybcio , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , Simona Vetter , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Maya Matuszczyk , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org References: <20250109-gpu-acd-v4-0-08a5efaf4a23@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: LgdZo8jTVil3sc86FMSTZ5AKVRZ9lTTT X-Authority-Analysis: v=2.4 cv=Q4vS452a c=1 sm=1 tr=0 ts=67f68d8d cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=vjlbkFh1sCUApBijkyAA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-GUID: LgdZo8jTVil3sc86FMSTZ5AKVRZ9lTTT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-09_05,2025-04-08_04,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 mlxlogscore=888 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504090095 On 3/18/25 2:12 PM, Anthony Ruhier wrote: > Using this patch serie on 6.14-rc (tested over multiple RCs, up to rc7) on a > Yoga Slim 7x (x1e80100), I often get a video output freeze a few seconds after > my wayland compositor loads. I can still ssh into the laptop. I get these > kernel errors in loop: > > msm_dpu ae01000.display-controller: [drm:hangcheck_handler [msm]] *ERROR* 67.5.12.1: hangcheck detected gpu lockup rb 0! > msm_dpu ae01000.display-controller: [drm:hangcheck_handler [msm]] *ERROR* 67.5.12.1: completed fence: 777 > msm_dpu ae01000.display-controller: [drm:hangcheck_handler [msm]] *ERROR* 67.5.12.1: submitted fence: 778 > > Rob Clark recommended to me to remove the higher GPU frequencies added by this > patch (1.25Ghz and 1.175 Ghz). The lockups happen then less often, but are > still present. It is easily reproducible. > > A way to mitigate the problem is by constantly moving my cursor during a few > seconds after my wayland session starts, then no freeze happens. Reverting this > patch serie fixes the problem. What firmware files are you using? ZAP surely comes from the Windows package, but what about GMU and SQE? Linux-firmware? Specifically, please provide the GMU version which is printed to dmesg on first GPU open Konrad