From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795183314; b=lKj+mlggu41GAv7bBya7GQiMvNmTqI73iXj311JKEi5yBWF3fmCOQCL7XlhSEvCRXZre LAJDrWp2fTX6FCmmaz2LQrSjpaLqwYylkMMNVAPvCFgmHb5+7brs7DBrv4HR+vWL2Wqzv OmnL03MaMOKnNnoLLyeERZxqZ0Q28f3O0+0kG3g9P976vPgSF0dt654pJpR8RNV5+WVHO jZikCvAzxgqY4Zw8X4EFf1tx5JsEcAdV3/JUICp/ElQd1fqUaCXvrtYWDs1oaWOyIaa2m lzqReQ9VzcuZb5ozWHOMxFCQQ/u44XmaYR8X8B8WgkTPs3bzDffiJ65u1ifsvkn7Zfg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795183314; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=IjRX/ZARSbePPvu6nqAM2ISqfChnHnrHZWGmgoFHsdA=; b=f2e9ERZOzJJfo+FpcCtMcAPNvhMh040e/rywZHOxbQG5GqfkmqOKqd3aJQCpDQcavbhC i1bZhDnbzsUbhyfTZ/B+i93a6pmuc4GM5OVSnOFH8LoWVpjWqOPZOSRwM5tbQVcjviSbY kCLRb/9tiCi19BXWHHqAYGq6fx7lpoBWOba3qXioE2q+WgjH/MnX8rMioi+esfXX5BeZK 2fyOQf7wJeEA4JY1UpLstKVAAVJTK2OvV28blXaKvYL0iM9UkIxlRbni+2oKaK0K0Z3gO Dc6nZJiJ7B7Vdsj0xV4fh1LJ0cW+IKkkIAcKl69OuLDJ220ok3loZQYZy9gQjlbDXNg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=UdOftBtB; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1384C606A320 for ; Fri, 20 Nov 2026 14:01:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=UdOftBtB Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B3831F000C6; Fri, 20 Nov 2026 14:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795183313; bh=IjRX/ZARSbePPvu6nqAM2ISqfChnHnrHZWGmgoFHsdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=UdOftBtBMMHnvehGQdCSVtK8G58CmXRpB93OVK1Pm2h6LuWcORJW9HD54tHnvPSad /doGsP5UrjY2lrRcdPpzB1Br0vQSQR1a1n0JowOpx8P3wy6Dp1G97h1Clf6I13dUCE A0kxCJo3CPM80QU/OMinzInlajZ4ErYPbGq1NRfrayfNjRH4djKbvSWsevb4S7Jh8U e59O0TmS7Xy16AmBSNHBsvpxD/GnVU3jlRgFe4V47F5baLT2LT6qf0VaCvznnguwDq z0ZG9svbtWO4L6FAOWHfbR4dgzkAPO16O0T73TH/tmG3dVKoz4CNdtZFEQuHdBWLyd K9OVK1Eikpp4w== Date: Fri, 20 Nov 2026 15:01:50 +0100 From: Maxime Ripard To: =?utf-8?B?TcOgeGlt?= Pedraza Padilla Cc: Neil Armstrong , Jessica Zhang , Jyri Sarha , Tomi Valkeinen , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 3/4] drm/tilcdc: Implement state readout support Message-ID: References: <20261116142707.1299360-1-maximpedraza@gmail.com> <20261116142707.1299360-4-maximpedraza@gmail.com> <20261118212114.150992-1-maximpedraza@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="cykdwu6ffuxdpskn" Content-Disposition: inline In-Reply-To: <20261118212114.150992-1-maximpedraza@gmail.com> --cykdwu6ffuxdpskn Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [RFC PATCH 3/4] drm/tilcdc: Implement state readout support MIME-Version: 1.0 On Wed, Nov 18, 2026 at 10:21:14PM +0100, M=E0xim Pedraza Padilla wrote: > On Mon, Nov 16, 2026 at 06:12:50PM +0100, Maxime Ripard wrote: > > > - tilcdc_crtc_mode_fixup() is undone to get the requested mode, but a > > > positive sync can't be told from a mode that doesn't specify it. > > > > That's suprising as well, the polairity of signals is typically stored > > somewhere in a register. >=20 > It is, in RASTER_TIMING_2 (INVERT_HSYNC and INVERT_VSYNC), so the actual > polarity is read back fine. What's lost is the difference between a mode > that asks for DRM_MODE_FLAG_PHSYNC and one with no polarity flag at all: > both end up with the same register value, and the readout can only pick > one of them. I'll reword the commit message. I think the real solution in this case is to fix the panel to report its polarity properly. Thanks again, Maxime --cykdwu6ffuxdpskn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCawBSzgAKCRAnX84Zoj2+ dt2fAYDR2QrK8n77atxdUi+++ZegIp96UoX2U9aX30W/Rn3nz3wBBJrpt+3FyPpQ lIC+QkMBgIlJ0uyn5uj5JIqH0dqvG3+8SpaGV5kyAUTBRtMLu8Jm6P1F7NV1CsiB 9yQ8nyqTvQ== =Q5Gb -----END PGP SIGNATURE----- --cykdwu6ffuxdpskn--