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 2044D3F39F2 for ; Mon, 18 May 2026 13:29:21 +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=1779110963; cv=none; b=RgRpar6d89CZvUckmvalTRpFSqx5yykLaYq40Dobgzy0pOAlsyt3d6pSfXpR1NNoAXcfcSFWuEioMOAjLTiOtiyfc3qe/786r6MFUVV32MnNWPuBmdt/7N/t5n4EuOHFv0wO2VyFevXIfW16mTTqoDUgO3HfFy6IfVtpZYkLmuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779110963; c=relaxed/simple; bh=rZxjXJG0viylil7ZbdiLB7V9In1qeYMUMUoOHPITARA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jY1LfAiTntSCfVKlRsENGxFhgQdvaDEZrUicFboB1eXDOm0FuSMudPFWC9PuC1NBLhRrUFlJqz0HLNNo/fZnT6MhaCvGGwm4m4Lt45Y42qNyOT+MfIxAKWzzDCzES6wS61SthG8yyPnIplaShAarfEFA98NAFD7vtJEvVgEIv4o= 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=bgj9cJ38; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=iTYCbXaO; 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="bgj9cJ38"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="iTYCbXaO" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64IBHQg42482373 for ; Mon, 18 May 2026 13:29:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=8rZ2DM1+I7aly9NQLRB60FkI XQ2aywpnwDJZYhW3iAw=; b=bgj9cJ38XdJ2FWmhp6unVr2kNxYT3Bb+zaDehafE TYxKYtpKWA3Sn6ygu7iwTLqWPcSliEMPFQcwerjRPA2QJ2oO6xHz+N8qQF/r7kas RI6ojHkUu/kfsVRubth2rmazYy7KUY1455DQgrQsV3a6ZozVXsHWq3KA7cdRZI6A nvj/w3PfMOyVYvrQSFAytg05rzUuwFvTy8Moq/2bfMzefWsMk3qFTjqk1Kpw63NG CwYOATJn6ygugFeuZOD1HQC/5NcJRXSPKtIp+b4jOJ0GfWUDHWta54wIrvSgLxt5 sj7UEsQQgKFgSdd7OJR97kg69+Yq7Jt564uDbJgENNYFxA== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e81rvgfhm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 18 May 2026 13:29:20 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-82fb831d5dcso375024b3a.0 for ; Mon, 18 May 2026 06:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779110960; x=1779715760; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8rZ2DM1+I7aly9NQLRB60FkIXQ2aywpnwDJZYhW3iAw=; b=iTYCbXaOfKr42d1xAlHHqgmSWoMgsY43oauO8SOjh6yt+DxRoWL+3h0Pv3ad2tvsvf 8T/wRwuX8hWYIJ/e2H6O6fueSjgmiZxpEZDdzObbBF9pX09zqBGnjHgLm++AwrkTi40T BiSMw0sepN2tuDc2VJ6UjdkyvUE440amR1kMWr9ATR99HYXAiD/Ttsi5B4XKlfc/83Pu G3aKa/djz3uXaXUh//3S34/6X/Un7j39ab3hGQjcEJn/G3+6HB5CISp4ij2tsVTuW9ga XfgjqF0wigzjRKxg8hwUVXP2bB617hgrCAcxlHlZ+xPFFdW+d08p/OTt/OA+IdWdPaLc 4kvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779110960; x=1779715760; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8rZ2DM1+I7aly9NQLRB60FkIXQ2aywpnwDJZYhW3iAw=; b=bxKa4wW5gYhHECFzHS5PtZZuA+W3BdoS3uzXOhdP6GWIESVKshKuzdqd9HaItbNaj+ sMOuuRZnsUH5fXSU/bl+lxPTMshYx9gP+BvlhmFL42G29Miehx78KC9aam/3SN9VhAXx B7414jupHxhgbTzoMQVIQ46OIj7I3kVtA7hmQoPH6jRRG6jn4qtkFJWUL5e9nELSpq0v qm3wUD1GdZPulDy0jYbFA3vHyzpGGP2c58eaXS9UjAL8zm3DDxhY9cVl1FD1OeH+rEaA bYmCeeb+oHTwyYpmR5vx+fF7G9oTZ5uzzTFVcHua/QYDDx+ZZBv9LJNHJ+IDPZZmw8Ly Cr5A== X-Forwarded-Encrypted: i=1; AFNElJ+fOLR0cI1njbiDfyO7rWa9pbfw00/WTBQaqlndlgQl+FjfEzD0Bi4cextGGjvF+qzMhXn1Dvuxe+b/oQ8=@vger.kernel.org X-Gm-Message-State: AOJu0YwWeU1I9oK+wLhe7vt5755clk4zBth866xjXGI3moGD3jT4m6Tr 3IlIbx2xanZwKwoXbCcZcswmSxyHl0GDa+bxot9ejmTI0tHC4lKGpkEJs5iU90gV6mpt/8tn6ys S//y3btEh8bxSpIvDnl+YTSgtlxdtVSkEBgIG9sreHwGT1mGQMgGkf+7+g+/SRxXKjuA= X-Gm-Gg: Acq92OFvLz7ojWZL0box6qMqg5CIpE5DC5/fogGn0kUGL9wy6E1nF1ZvZ3IxSGiL9Hh /c5t8FNugKBRZtsXAS9EvEKNlXrNViAc6NWroH0k9mpYDC2iFPl22DCF2G/pjdRQWJyNzmKCrDb vCOdYss7Eruxwu950/VA6DQRlPDBuXAbhPAQuX2+xRweTGD736nC+MuEt6qPzYMid41jzpkWYIG vKKq99Kp5O/nTcbEU3h3l9JyGrSP8/vSlUQwU+FTv1DUbK7iwSMT4b8drGrGJJ0orP2uxlufJgj EiusfbUbUnydmzUvRawPUKJgl2LpASnwTVQvpEe+ydszzbtJDG+27Uga+WCxr60oAmhPxaFB+Fu UhlhihYxFjKXc2Um79aTwiZs3PEFruPo9m4jmyvRORPzYHKgENDztxYxn2P4b3CJS0Ohuu4JNMI hkEbZUW/FRiSRl/qGpDWXrBSagp23HhG7V2/5l9eUoZQ== X-Received: by 2002:a05:6a00:124c:b0:837:73ab:1013 with SMTP id d2e1a72fcca58-83f33cc89edmr9056262b3a.6.1779110959983; Mon, 18 May 2026 06:29:19 -0700 (PDT) X-Received: by 2002:a05:6a00:124c:b0:837:73ab:1013 with SMTP id d2e1a72fcca58-83f33cc89edmr9056238b3a.6.1779110959542; Mon, 18 May 2026 06:29:19 -0700 (PDT) Received: from hu-vishsain-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-83f19f79b60sm15938649b3a.52.2026.05.18.06.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 06:29:19 -0700 (PDT) Date: Mon, 18 May 2026 18:59:11 +0530 From: Vishnu Saini To: Dmitry Baryshkov Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, prahlad.valluru@oss.qualcomm.com, Ravi Agola Subject: Re: [PATCH] drm/bridge: lt9611uxc: support displays with up to 4 EDID blocks Message-ID: References: <20260517-lt9611usc_edid34_misc_next-v1-1-5e2fd8c6399b@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE4MDEzMiBTYWx0ZWRfX5AYvSe2m4UlJ nB0ChqdqE9OunUiplZTg8DoxWCGLQXibpjLizs8x25S7BT9wbUZi2AwSr9c5tUhl1AW9Z1PcCgt RuBrzprVYn2m37hBwV/IaGpATvRpiycRUtzjP9NY34T3eoRkRgfYD6v+E2E2yfAHAHFvELHXIa/ 7nWUExDg37oeyDcUxfD4z2wIlHdNpLdr0K7smmCfsGRg0vaaDtrF/qRQjl1n2Yc1IFhPCdvajqL nHevlOD6LssiWjYA46HYGC7u31aAub4nBOs67Ki7vrGJhMyYhdwpBOLq6vGB0m3khQka7i39XCf Y+CIwA8uY/L6X+OsfuBX/Zm0Ra+w0pngSBgbxRhE9DFwOTAYCgh/D0qOkouwbuvAajxHCOLAlGI +6zraiOCUEswe/EVApcvLuxqBbo7CTpdBZBLjVRBRjHCvrhmd/xw1MtsCSte8Td858KaaU4q3wk Vu8fXtnv6ZuBgnk6YFw== X-Proofpoint-GUID: 9dlfrj0-89QJctoeUZskAkyu87tOGF35 X-Proofpoint-ORIG-GUID: 9dlfrj0-89QJctoeUZskAkyu87tOGF35 X-Authority-Analysis: v=2.4 cv=Lf0MLDfi c=1 sm=1 tr=0 ts=6a0b1430 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=kj9zAlcOel0A:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=FQUaCYA7XYoef1_AjgUA:9 a=CjuIK1q_8ugA:10 a=OpyuDcXvxspvyRM73sMx:22 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-18_03,2026-05-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 impostorscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605180132 On Sun, May 17, 2026 at 11:58:55PM +0300, Dmitry Baryshkov wrote: > On Sun, May 17, 2026 at 11:44:49PM +0530, vishnu.saini@oss.qualcomm.com wrote: > > From: Ravi Agola > > > > The LT9611UXC bridge can fetch only 2 EDID blocks at a time, which > > previously limited EDID reading to 2 blocks and prevented support > > for displays exposing more than 2 EDID blocks. > > > > Extend the driver to support up to 4 EDID blocks by re-triggering > > EDID access after the first 2 blocks are read. For block 2, clear > > the EDID ready flag in 0xb02a so the bridge can expose the remaining > > blocks, then retry the read until the expected EDID is returned. > > Won't this affect re-reading of the EDID? If so, we might need to reset > the flag at the block0 path too. Yes, edid will be invalid while reading again, that's why trying to cache it. Correct edid received after HPD. Will try reset the flag at block0 > > > > Also cache the full EDID blob in the driver and reuse it until the > > next HPD disconnect event, so repeated EDID reads do not re-query > > the bridge. > > Separte commit, separate justification. Most of the drivers don't use > the cache, so, I'd say, most likely no. If flag reset at block0 gives correct edid we don't have to cache it, just that it will take few extra ms to load the edid data again. Lontium also shared the updated firmware to load upto 4 block edid, will check with them on upstreaming plan. > > > > Signed-off-by: Ravi Agola > > Signed-off-by: Vishnu Saini > > --- > > drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 84 ++++++++++++++++++++++++++---- > > 1 file changed, 73 insertions(+), 11 deletions(-) > > > -- > With best wishes > Dmitry