From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 7B2D43DF00F for ; Fri, 22 May 2026 11:27:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779449271; cv=none; b=KYCpzMYE2A/NmFwxlffGtqG458uwh0jxlKvs77ByctIysPexIzBsfeLJBM85efsssgxLiaIitdiSfjmZtvscMYcKr5W82hDX/Qy2TIq+blQ/ccDa3NlVovW615otsIUzcPJp5Nr2oxeVVbPJ7HD7bFvXh3QjW4xkrR3jtnLhmjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779449271; c=relaxed/simple; bh=Xn8yRD8T4xkt0RCkj/dW/P2fvEOV0FrojNAtNmGfCck=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DbR7hjExUXB5IrDPYKY35gEQiuhIfuG1XpKhNG3kXDZJugxKzcPa/2pqyoTPjjH0I1tzC+KEnpYzVFo3iTYXq64Vfy1sGQc6xf2YDYp5MCbIXyDh6IgqO4LuKRN1ziQIZX5Tz7yTtMkl98lP37DASNplPVxHIhgC1KTRoFYrDXg= 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=nKi/Ac96; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=igWrWdGX; arc=none smtp.client-ip=205.220.168.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="nKi/Ac96"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="igWrWdGX" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64M9CMf33005107 for ; Fri, 22 May 2026 11:27:46 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= UiKQgwyqjMIOIsH4BohlB3XwNGHNxNr62DhRiy8MIQU=; b=nKi/Ac967PmnJfD/ 4esqJ5yxp3wuRgcJYrZ2PyRP4lWDpg7BfIPrEIOPDmxL/y0P1KExvPLy6FRYcPrS C0e44V14quADEhWJGBTDDL13LP1mGh1y6TL0/2xhLOioLThj/goiKeHLq3jREEeK AgaiKFMNfUpSWbYne2hHo/wDuJC5zMS8NdSDa3zLgVjvZOfE9M0k9G+YP0KsEJYy A8oQ1JFuhOJCPmfEu5XQYlqYfvRiFTzfr0qSHJ/k4LmdfTS6JTMjMLi5VpygkyGy d816/U8vtwj7j3NH4hjzUId6wG3d+6+o0W+6R7y9QFaHh9IcHZmYzp3T25pNJYU5 RHQhOw== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eafrt9qx1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 22 May 2026 11:27:46 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-914aa01cc21so35484685a.0 for ; Fri, 22 May 2026 04:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779449265; x=1780054065; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UiKQgwyqjMIOIsH4BohlB3XwNGHNxNr62DhRiy8MIQU=; b=igWrWdGXSSCukKl6M2ESnE4gz+qIs8ULSL1u5isQp++ntWtx6vo92+R8yFvvwL8I+f 5Q1xKV0/TgEfC26/v8GsjZX9Y8poCaVDznngiq7QoNdEp01JvIhg9QlKTFHLD2910wys 0ogegqyBjO+Rsp5BCZns/Cp1Wo97nbft+HxOcWwF0qNt7e3+LM6ZPrazIgOXxYZmq03W qk9VuYJoDsaTGGdxNWABJJIs9q9bBXcHZ/8Fb1W18sVZzFLLUCy/ZjPVjFDogt6/XuNo P1pw04GQrzUixgE3juPYlfbDatw7J7Olf/QRIEZF+08WrMSHVafPXENFzj2Rt32OzpZU +tdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779449265; x=1780054065; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UiKQgwyqjMIOIsH4BohlB3XwNGHNxNr62DhRiy8MIQU=; b=Cv+X0z5OEJSWsODRar2xfQKUopkV76Qj6VQ2ojqtKnbPlwwgvzUGgC0FnQokS6rIss m4s1Shxq59prGPAdIEsfgsryQnDDamK9PwiPFnkJFyPVSqEkfkaXr1d5o9HLpfKnUoox 9bYCt0P7yuOVD2a+swJjUz2i/14rf9xnhRsSrRr8iLDDxJwT+LZGrpOv8AxD3YmPLdaR LSvgHkLWxAlw/vluczDfdt3TB3NlsTlPUNNsx4ZsNgYa8p4vVI90EYX2JGVfMJv5y0uS MELozVORsXtS/Oytd58aHXJtiK8Jv+L5TRb4pzNbZC2wDsklsL61CXn1tOQBq9EZ8Tv4 Vb3Q== X-Forwarded-Encrypted: i=1; AFNElJ+zp7np+lnu1OF1evvNpwDGApTRUNgoVcqpGzK2QVc0DcuvyTyJujZpgjAUzkPOUwNyke9pPSAjgbbTqgw=@vger.kernel.org X-Gm-Message-State: AOJu0Yzd8PcKP5S+hChPtVke5EVsxV3uouRZzQUtJ9emZqThPV8sIruQ XL3Ojrwml//p3m7AoHn3uzqfVgOzkfQ1vuoUpqAyuhuM6wWXI16lpN9NKZorJwjYe38rZOf6nTf 0sctQILoJ01F0q7VNWm5ygNV/o+CBLLPQsBMLyGCs/Fs1BKKhZahHCwji/rLCjvgxlZ4= X-Gm-Gg: Acq92OEMhe+9L68oG9aGuoMa0UabU7MyFCik6IEq0NHwgEJLotG5+xrSwE0cf3znet9 33Q3a11BZu0m7D6j5cKa4sbjN7lrf21lp+OmSHrX4RxfUuOjNTiyElOrAeXI5DcWXlhCGOLc5Hh 0tH6LCq0RZ9Bdae3t84FcNAZU6QMOpChLJUOnudEhpU8mCJTlV5qNVkuzsucZKDkb6B0a8O765P NqhYguUfdSjE+xyBVSQdkQUBcKaduM4m/Paon+hWIBSc/LVFVb2kZBuYvfL7WkGGspuLzDojFtm ig7agfVwyMuBZhyE93TTwZ78Q+HCfgf32UfLqE0mXNMblZkKuKJhCFB6e55ep+YplrrMD+O4zSm sH41P4huoCiSthYEekC5dyJQuhEi9c2yAt0K5iLF33A9jqR4yZdcPxLnC X-Received: by 2002:a05:620a:28c8:b0:8cf:d953:b4ec with SMTP id af79cd13be357-914b497c533mr312759385a.3.1779449265355; Fri, 22 May 2026 04:27:45 -0700 (PDT) X-Received: by 2002:a05:620a:28c8:b0:8cf:d953:b4ec with SMTP id af79cd13be357-914b497c533mr312755185a.3.1779449264847; Fri, 22 May 2026 04:27:44 -0700 (PDT) Received: from [192.168.119.254] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-688bb13312fsm560271a12.22.2026.05.22.04.27.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 May 2026 04:27:44 -0700 (PDT) Message-ID: <9b3c6567-a432-40e4-aca2-4ed92436dbe2@oss.qualcomm.com> Date: Fri, 22 May 2026 13:27:41 +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 v5 00/10] drm/msm/dp: Drop the HPD state machine To: Val Packett , Dmitry Baryshkov Cc: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Kuogee Hsieh , Yongxing Mou , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20260314-hpd-refactor-v5-0-0c8450737d64@oss.qualcomm.com> <9c4dad2c-25bd-47d2-bc40-9b551d023615@packett.cool> <38e87937-194f-43ca-ab27-a3a9cf7267d4@packett.cool> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <38e87937-194f-43ca-ab27-a3a9cf7267d4@packett.cool> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=JN0LdcKb c=1 sm=1 tr=0 ts=6a103db2 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=YME4jNqvwn4WW7v3Y9AA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIyMDExNCBTYWx0ZWRfXzWgPqfy5pMEH NZUOGNtqizEUBz0rMlqXxr1G95eSKlRojX8LGbU2kfw3lw0FccZvuInBw651TO0PbdYxNoD/oPF xgIQcRqtVi7tPj7Iw4WPAIP8kVtBO+LYSNTNaUhrre1PDN+zbozTfZdh1tTrJWjzUqhcaK7oN6I YvVsbtxmdTF6pT9fj81PwkD6Y3Pn34Rs5nwKU+GDX86b7e6Wa8x8oHLWCv8T2cx1XDowMz+j1ar BwGI4h741oigyCWRB4gsed/PhoypaoFDRXBezPTmaYztT/wLttBxjSU6+V4xCqAHulU/D5ywXSB DzcSl5AopLAoRIPGtRQ6vt5zhBFJNijmTHcK4+4uQEhSWhMT1Cc1DYSnwcWJaO5jlmiGlZQTecv 7veT40uG1lCZ3xNvZJrIwPIq0tzSiozmmLvxtHk1pgQ4VBcvJJdeCzl8ct/V3v9TEx1VCFDfNE4 ook82JpnC3OoGhs30Dg== X-Proofpoint-GUID: Cb9nUDOF2zh8KXRsNMRMvL0XtbLFYgun X-Proofpoint-ORIG-GUID: Cb9nUDOF2zh8KXRsNMRMvL0XtbLFYgun X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-22_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 phishscore=0 bulkscore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605220114 On 3/18/26 12:15 AM, Val Packett wrote: > > On 3/16/26 12:23 AM, Dmitry Baryshkov wrote: >> On Sat, Mar 14, 2026 at 10:10:26PM -0300, Val Packett wrote: >>> On 3/14/26 9:51 PM, Val Packett wrote: >>>> On 3/13/26 10:09 PM, Dmitry Baryshkov wrote: >>>>> Currently, all HPD interrupt handling must go through the HPD state >>>>> machine. >>>>> >>>>> This has caused many issues where the DRM framework assumes that DP is >>>>> in one state while the state machine is stuck in another state. >>>>> >>>>> As discussed here [1], this series: [...] > [ 3362.364893] typec_displayport port1-partner.1: failed to create symlinks > [ 3362.364902] typec_displayport port1-partner.1: probe with driver typec_displayport failed with error -17 I believe this happens when the PAN_ACK doesn't arrive in time i.e. if pmic_glink_altmode.c doesn't write ALTMODE_PAN_ACK to the Type-C service, which is influenced by the time it takes for all the typec_mux_set() and typec_retimer_set() callbacks in the chain to complete (which are called by the various flavors of pmic_glink_altmode_enable_xyz() in pmic_glink_altmode_worker() right before the ack) Konrad