Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D266A3B2FC7 for ; Wed, 20 May 2026 09:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779267901; cv=none; b=jr9sAux5z37DgY2SZBH9JzS/aZ4TYHmYiewPrS03WpfY67HvdY3ZGPD1KUze7HQRsrJruegq7E7JgGPZUvNFTm4dY2jrTum+Ozz+ogHQeoq6PoX0MKdEHgBco2y8cwL62E3KRwoc8pKEGlis14L9CMzwm/uSa+rkCRGgZwiRuB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779267901; c=relaxed/simple; bh=7ZB8Hld9h4vLEcMaM8ZaKdW7ljZ8NVIlYGnWyGsjiSM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pUIveKnJxjAW1Q7b4hDToZUNVz9ONFXd/SHY1z1cdNWutUDaiqqc4wZpuE4UT7etLqNlmJMuYb4go8RmddimpTkEKSfPHVdxt17/klAJ54WPmfYSbbtNRjuFBUotOmrzzaKURteJVWxbehL4IvaI2maPI+iea/2bkXw0Dt0vzW4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=rYL83e2n; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rYL83e2n" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-c80227c9572so2128906a12.2 for ; Wed, 20 May 2026 02:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779267899; x=1779872699; 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=8EtUeRP6UrxzDImfBuIvH2E943h47a6fmSVUaNC6rbY=; b=rYL83e2nl1Xy5dONAa5brEcYe763Ux7c4JqjjdlXeTvTiX/mpgPrvNpo2EF9sjNLqS 3mUqLutJlF1eLslMNRTx/xFrvVsyOzqWFAQnVfYpDtdE+KvznXz8y7ylcOwpFBA/lPDj NhcDx+kEwTIgbJmf+NhahRTWgI1WTZlLKHbPYPaav4QiJ2IHPkKmHxrZZsAnJEORcdn+ r6aCKEzAscunB2JudSidHZQyEYU5KFVodxd6XwfCc1Je44F+e/WPxHuOAGSkZMna8ce8 SFK2o6lYmIbSxqAT+FNfTFaoe7Yo8RpZw6e2CETe/TeeES2r5mhKRys5itMcvt/CT99I 07cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779267899; x=1779872699; 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=8EtUeRP6UrxzDImfBuIvH2E943h47a6fmSVUaNC6rbY=; b=mVt9vbk8LaCOakT1pg3WxKWxYgV1djH9DMSopbxKh9DVySZBBbI4otugVg+OJjz8BI 7C6cU9Guj7cCP/9oKj6DK3gCCM4uj195hYB30dQUXe+uFd2UZhMOy9bMuFDK8dZfW2/0 Jz1G2jZnIr11G/lWa1lokc3rl62KVVV+OhBXSUTj8kO+juULGEF1JY3TBI5vxGazqWML HXZT3S8bguTNb8p8Oklch5h3UqNLdmoZKQil+Zp8WLFbuDf3ck3qVNbCWwcZyP9cnqqI Y3icKasySRuJaMx+XZmTQ20lWG7EFUJBFp2BDQa3CXz9JL9yiemQXfAehfu6pkSk+TUb SOYw== X-Forwarded-Encrypted: i=1; AFNElJ93mm7V46+n6kKJNXRUMuNStHv9a4fcErd712c8y37Rt1PaYq6WOMBePyigeD4pS4WIyjE8Uk/Dbt16ooQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yy0YvV4R+wxXrOasokx8KJJ1r/d+SyLMkmsDoVcKGZI84KXsvPj e1QET+hEQb7v6E4Fw2uQf62yCEqm8eQ0qlRNBBnyY7fMn/3KTabtNNOO X-Gm-Gg: Acq92OHSrY8zrYGtEPX+GUtoIjZITAchvUwyAkbhWj9r4qJT+0Ct9ufgWkIQYdl4hDz YopUE1P6Reeqss6EVV2SVacPc26ewA4G8s8F70vIs373rCcEX0ciSkm5iMlzmdhne+SFc6UDjqm I3wa5JXCBY7RrfWOilqp/o8ohWR1cLs4tOBfpf3fVbxoh8mUVhSDEZ+8Btqb5Kqcvcz+nVRIK5j FGGXaH9gWzUkl9oC8InfNmZpHeoFAv6zMvqKBG+DfinqIyGofwsksiKQJEif+FbhMP3izRkCPAh yiBjmuLsdOSWOcrIoMVF8sv1E3dgifBRSRfFUxnocUm83T3oZhJpyc+y4bQ715RF1cGgNabcAm+ e9bAIkHPEz0Bd+8HELv+iP4ctp37CAYEcBweqTmLtB9+SH2mx5izYOX+/7f7g0ejnMx6iTNu4Cl gmtKWsV6joa+/gQVOwIzPicXR0/wf/T047OFmb0YSea54uW38= X-Received: by 2002:a17:903:2f4c:b0:2bd:3c1a:473e with SMTP id d9443c01a7336-2bd7e8a3c71mr273153295ad.14.1779267899117; Wed, 20 May 2026 02:04:59 -0700 (PDT) Received: from [172.16.20.13] ([136.226.252.245]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2bd5d11d659sm211023765ad.73.2026.05.20.02.04.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 May 2026 02:04:58 -0700 (PDT) Message-ID: <1716be56-ac43-440b-a5df-58cbf571ba95@gmail.com> Date: Wed, 20 May 2026 14:34:49 +0530 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 v3 1/1] drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output To: Luca Ceresoli , andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, marex@denx.de, valentin@compulab.co.il, philippe.schenker@toradex.com, alexander.stein@ew.tq-group.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20260412053811.662461-1-tessolveupstream@gmail.com> <20260412053811.662461-2-tessolveupstream@gmail.com> <7056b23b-ed81-4d79-b782-5cfcb0102ef7@gmail.com> <60a24977-b181-40e4-bcf6-38b65af293e2@gmail.com> Content-Language: en-US From: tessolveupstream@gmail.com In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 19-05-2026 17:13, Luca Ceresoli wrote: > Hello, > > On Tue May 19, 2026 at 10:48 AM CEST, tessolveupstream wrote: >> >> >> On 24-04-2026 13:55, Luca Ceresoli wrote: >>> Hello, >>> >>> On Thu Apr 23, 2026 at 11:16 AM CEST, tessolveupstream wrote: >>> >>>>> I had reached out to TI for clarification and any related documentation >>>>> updates, but I have not received any response so far.Given this, it is >>>>> uncertain whether we will be able to obtain further details or official >>>>> confirmation from TI in the near term. >>>>> >>>>> I would appreciate your guidance on how you would prefer us to proceed >>>>> from here. >>>> >>>> I followed up with TI, and they pointed us to the relevant sections in the >>>> SN65DSI83/84/86 datasheets covering DSI video transmission specifications. >>> >>> Thanks for keeping on! I'm also trying to get info from TI, I'm keeping you >>> up to date if that will happen. >>> >>>>> https://www.ti.com/lit/ds/symlink/sn65dsi84.pdf?ts=1776924088430&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FSN65DSI84 >>>> >>>> As per datasheet Section 7.4.7, the device operates in DSI video mode with >>>> fixed horizontal timing, where HBP, and HFP are explicitly defined and expected >>>> to be present as part of the video line structure. The timing description in >>>> this section assumes standard non‑burst video transmission with all horizontal >>>> blanking intervals accounted for. >>>> >>>> The datasheet does not document support for DSI video burst mode, >>> >>> This sentence seems incorrect. Section 7.4.7 starts with this sentence: >>> "The SN65DSI84 supports burst video mode and non-burst video mode ...". >>> >>> Even though asa matter of fact it looks like many users have issues that >>> get solved by disabling burst mode. >>> >>>> nor does it >>>> mention support for omitting horizontal front or back porch intervals. In >>>> particular, there is no indication that the device can operate with collapsed >>>> or suppressed horizontal blanking, as enabled by MIPI_DSI_MODE_VIDEO_BURST, >>>> MIPI_DSI_MODE_VIDEO_NO_HFP, or MIPI_DSI_MODE_VIDEO_NO_HBP. >>> >>> This is correct. >>> >>> We can still try to get TI feedback, but it that won't happen in, say, a >>> few weeks then I think we should apply this patch. >>> >> >> We have not received any further updates from TI regarding this issue, and >> at this point, we are not sure if we will get additional feedback from them. >> As you had mentioned earlier that the patch could be considered after >> waiting for some time, could you please let us know how we can proceed >> further from here? > > I am getting some feedback from TI, but it is taking some time. > > For the time being I think it is clear that HBP and HFP are required, and > so removing the MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP > in your patch seems to be fully correct, even though this had no effect on > the panel I tested. > > I'm still trying to get some better info to ensure that switching from > burst mode to non-burst mode is not expected to have side effects. > > For thi reason, I think it would be great if you could send a new version > with two separate patches: the first one enabling HFP and HBP and which can > be applied right away, the second to disable burst mode for which I'd wait > a bit longer for TI feedback. You can keep the Tested-by lines. > Thanks for the clarification. I just wanted to confirm my understanding regarding the patch split you suggested. From your comments, my understanding is that the first patch would only enable HFP and HBP by removing MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP, while keeping burst mode enabled, so the mode flags would become: dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_NO_HSA | MIPI_DSI_MODE_NO_EOT_PACKET; Then, the second patch would only disable burst mode, resulting in: dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_NO_HSA | MIPI_DSI_MODE_NO_EOT_PACKET; Could you please confirm whether my understanding is correct? Also, from our testing, when using: dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_NO_HSA | MIPI_DSI_MODE_NO_EOT_PACKET; we are not able to get display output. I just wanted to mention this observation in case it is relevant to the patch split discussion. Additionally, regarding the Tested-by tags you mentioned earlier, should I carry them forward to both patches, or would you prefer them only on the applicable patch? > I understand this is painful and taking time, but it's important to ensure > as much as possible that the change won't introduce regressions on existing > hardware. > > Luca > > -- > Luca Ceresoli, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com