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 087D6134A8; Thu, 14 Aug 2025 08:23:07 +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=1755159789; cv=none; b=IRtJSKDKaqG78+300hzpk7xjHakmXhy25k/vWIRvIAwOmTDofgNrQi42aI4JCbZbuMWtvM9UfPoEt7ozX2RVbqnmuRB3Ucy+hEecfO93cPIZ7Hw+mzRrewWV54P6HOn6wJRJbueUbWkWBGMlbGGjGq2qLFD15EZ5E84LG9q8iqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755159789; c=relaxed/simple; bh=w/UM9ASAddRI5pPv9yJpB5/f2enM5/74LHgNueiNjoc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=VYbj32cmnmbX7c674g/jIn0qAHXUoMZcK6a28MXUSaNAifs0Xl9aIWHCTLqfHoM4vACqCdpH2GNW0EGqQzq/bMWf/dBEwM/4e/UgmR/3EFl/Zvxehxv/TI9s9tiRHRNcPeWia1oGrEOTmM4kaCAA7f2zcDdGNSgHugJE84+btPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fzdUpndw; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fzdUpndw" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 57DMxFWo023986; Thu, 14 Aug 2025 08:22:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 21u6GHncD1qmZgE3QDHrS+U+JosoC2ENVBFuXbIqbs0=; b=fzdUpndwgPHJxNqw /upag5MfItrA8otjChTYrHZmwvJt/AxU2sbrm+amrmWuTQsXxjoVWqQhWdoYWWCS O0lbVZwEjkOSotkrsGIHdrmp8QwX08ajo2wgIHKPrl+b2Gq5UP2deb0G2wXYgm/w okl66xRfIDBaqmSMFurG7kCeol2H9/hNotMHimrOq5PMJgHe7+yFW7v7X6/uFBPj tZPP+l1/CJBxENC2enYo76ivf6PhBZe6mQLY28RdjoqFdcftM+BD3DtzqCXfsEKA KfMncMlnaOYCxtaTbRjNSra8p2N5OkmA1/wmf1k3Xlfgbd1manvrlv87wB6Gw+v4 dtkxfg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48gr9ruk2r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Aug 2025 08:22:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 57E8Mqtv028839 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Aug 2025 08:22:52 GMT Received: from [10.133.33.43] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 14 Aug 2025 01:22:47 -0700 Message-ID: Date: Thu, 14 Aug 2025 16:22:44 +0800 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 v2 26/38] drm/msm/dp: skip reading the EDID for MST cases To: Dmitry Baryshkov CC: Rob Clark , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , , , , , "Abhinav Kumar" References: <20250609-msm-dp-mst-v2-0-a54d8902a23d@quicinc.com> <20250609-msm-dp-mst-v2-26-a54d8902a23d@quicinc.com> Content-Language: en-US From: Yongxing Mou In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODEzMDA5NCBTYWx0ZWRfXz0R48Ozax+dY YeUVoGep7qlHG84sm/Y+fX22S3bxTTpET41A3br5EZ+on/hF1dBKlsYxdXApN1AZ00T3qobecFN Jb3BPp/XqRFlaaO6dKL23ljz6ye8YzLqCmFcdcksJtfjj8XSFuk8ZmwzCi2iIZ3nKQUe/8Yuwqo pSLOEx+YP5IFjc/zIU3UPDCxJVH/fjI4zQhNvhX6T+m9Cht9ynUNM5bNtAPWiofuRuqZslw5FYJ pRHbD10EjBmcK8JxQe22rNruwOj1nEFaKXcjyeFJ1DF0P10cS0ILmmTqoFV2W1H63h84vP39hhp 4QrOqrEL+rjppMW6GwIlUaqUJ4cQqvkdtQTjpS3gkxVXGK3mJhc1B9Q7Yuxnp60RAJM3rg2/UD4 bK0peKeN X-Authority-Analysis: v=2.4 cv=NIrV+16g c=1 sm=1 tr=0 ts=689d9cdc cx=c_pps a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=2OwXVqhp2XgA:10 a=COk6AnOGAAAA:8 a=iVGnFgL3FlcK6foRaNUA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: rzjTHFpEi3Ufbeh180Q_9_FpJu5CfPRI X-Proofpoint-GUID: rzjTHFpEi3Ufbeh180Q_9_FpJu5CfPRI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-08-13_02,2025-08-11_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 impostorscore=0 adultscore=0 suspectscore=0 spamscore=0 malwarescore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508130094 On 2025/6/9 23:58, Dmitry Baryshkov wrote: > On Mon, Jun 09, 2025 at 08:21:45PM +0800, Yongxing Mou wrote: >> From: Abhinav Kumar >> >> For MST cases, EDID is handled through AUX sideband messaging. >> Skip the EDID read during hotplug handle for MST cases. > > Why? It makes sense to read it during the HPD processing, ping HDMI > codec, update CEC info, etc. > For MST case to read EDID. we will use drm_dp_mst_edid_read when MST connetors .get_modes() called. >> >> Signed-off-by: Abhinav Kumar >> Signed-off-by: Yongxing Mou >> --- >> drivers/gpu/drm/msm/dp/dp_display.c | 8 +++++--- >> 1 file changed, 5 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c >> index 88cae0ca66015377e59bee757462edeae5ae91bf..b1b025d1d356046f8f9e3d243fc774185df24318 100644 >> --- a/drivers/gpu/drm/msm/dp/dp_display.c >> +++ b/drivers/gpu/drm/msm/dp/dp_display.c >> @@ -438,9 +438,11 @@ static int msm_dp_display_process_hpd_high(struct msm_dp_display_private *dp) >> if (rc) >> goto end; >> >> - rc = msm_dp_panel_read_edid(dp->panel, connector); >> - if (rc) >> - goto end; >> + if (!dp->mst_supported || !drm_dp_read_mst_cap(dp->aux, dp->panel->dpcd)) { >> + rc = msm_dp_panel_read_edid(dp->panel, connector); >> + if (rc) >> + goto end; >> + } >> >> msm_dp_link_process_request(dp->link); >> >> >> -- >> 2.34.1 >> >