Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp816546rwl; Wed, 5 Apr 2023 08:06:09 -0700 (PDT) X-Google-Smtp-Source: AKy350YGyFZIQGG98OL3uA78DIJechZSvZbLWaWQ7jJmwG5Vt0bQ4045QiOpwKALc0K0/hzLs7wV X-Received: by 2002:a17:903:32d0:b0:1a1:97b5:c660 with SMTP id i16-20020a17090332d000b001a197b5c660mr2849700plr.20.1680707169393; Wed, 05 Apr 2023 08:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680707169; cv=none; d=google.com; s=arc-20160816; b=hGBV/pnhYDOzvj2ouRn1Ql/fy6tFjzv/4UKPoVbBXdjB+uFK/qHeA8poz+yjbbalVL WCDriH7+cZIson82bv6E2PkF4VMjpMz0AtxTnoNue1l2lnUEjMKmSIcB8KMyQDdF6wOP sDCpoz3kiUpg9JXbaoPk/cqGGuS6iR/+YFKfvshtKHtlCrOi0QyUKycTXTDd05RJNtxT Ua1PnM6MOm+O+HKoNa/6MXY4RymfxBj0SRY6HuOoK38FiRKq5vCwXrXFJyBIAf5jfyCw t6XGgr6GZUzdTzxX5BS/yq2VnFpfb2IjOOivchAgYNO2da0xuETWpOEtB2r1gGbu1IZp RYvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=QJL8kruNqpnU3ciJpzabnkEsxgv2FytG75yCcU3W/5A=; b=lcmxtqss+a3DaXU82oGM2hs11hm8hZHNVJSvhNNLXwKcDKLvDLs/piETwwBaqZseD/ 8vY+YEgtuSufNc357zBSeCIYzbnHpCd2Zvh8qxcaRMt/AQL1OeI07B6ms/EmbLKhDTMq z2qrnSsrfqx4hFzJBSTPJyMhx9otwvnyQFlFqhVEeJbMjgF8BpiuQb2qtnDwEwRAui4C He42Xzbn8tU/m2S9nZux4N3xSZIFfZ7TAcmH0BlRLidTPPnpJamhzW4/EmzO3DkNfjJ3 3M814/hcqrOl1Rp8Osg+yoNP2PUmb4yMw+rjGfMR8qjJSv38LzpfoKC8cTk4OpgWA9WF DqoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=ori40a6y; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=nnn8TVnC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja12-20020a170902efcc00b001a1e2b6b9d7si12020728plb.430.2023.04.05.08.05.53; Wed, 05 Apr 2023 08:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=ori40a6y; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=nnn8TVnC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238290AbjDEPBf (ORCPT + 99 others); Wed, 5 Apr 2023 11:01:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjDEPBc (ORCPT ); Wed, 5 Apr 2023 11:01:32 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A274203; Wed, 5 Apr 2023 08:01:31 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 63922320031A; Wed, 5 Apr 2023 11:01:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 05 Apr 2023 11:01:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1680706889; x=1680793289; bh=QJ L8kruNqpnU3ciJpzabnkEsxgv2FytG75yCcU3W/5A=; b=ori40a6yjrumQN+QpS twsnnpOyY0XZFZgXzcV323I2xrb8tq+3ugZ2Hwgla4DGgKg5+72bzAbHlT07lYDg 8ECtCtD71CYbPx1qZf+w8U1Dtxn97KAi7xH7MbkzvYNc12B3RvdrQP9kmiAbcHpz 0EsJFcqZ8/RKkkCmRX/BX3uN4NU7+ApS0Ms+o0zf/sLMhUgx1p+bZcJ/oeWOeCGi MQxi4RdgoTd9ga4THNuTJs11y+QhgmuBdpkW5gMjdJnMG6tH+HPPgQKMZTUbqZ/S /1itP5hj9z4QXL18vPukLm3VSUWpPMZWAw9xoBnSpClf0/cZ/P5FOGieNk9UkoxX nWAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680706889; x=1680793289; bh=QJL8kruNqpnU3 ciJpzabnkEsxgv2FytG75yCcU3W/5A=; b=nnn8TVnC++0k4aTM9GXIQp5yL6N9e CJyMbl6Ea4MJLJkhiQJk96wJqU7u2QsGUFgeiq3YFIxtvy77dV+AsKqsFr0qbLrH aewSDtJu+7Yro2kDsL5RziJMh+btTMwxBK2S+awpQtmBDeKrKPiHVfmgBFX0JNRl UC+lThGaMAzAqCN/TYYfcVqbkgLCnk+J2CRNGyk8UExZNewCH2tzkkR5j75/8hYC 07d+kok9epFSTrxV5btmKLIXmH4fYJkymjsT/AOVs4nf1NvkIC30l6TjAUBX1oBO oxn0U6gwxiGycGlnc9A8ad8bc0k7wiiS09M9cez99tpDwRM1Hmp7zdnLg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejuddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtsfertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeeuveduheeutdekvefgudevjeeufedvvdevhfejgfelgfdtkeevueegteek gfelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Apr 2023 11:01:27 -0400 (EDT) Date: Wed, 5 Apr 2023 17:01:26 +0200 From: Maxime Ripard To: Michael Riesch Cc: Rob Herring , Gerald Loacker , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Sebastian Reichel Subject: Re: [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix,st7789v Message-ID: References: <20230314115644.3775169-1-gerald.loacker@wolfvision.net> <20230314115644.3775169-8-gerald.loacker@wolfvision.net> <20230316215735.GA3940832-robh@kernel.org> <20230329091636.mu6ml3gvw5mvkhm4@penduick> <20230330145811.asot2cvux4ebbeqy@penduick> <5f1f90e2-eee8-d941-e4b0-7f2411a9d415@wolfvision.net> <20230404160419.xlnlxq7sbsqopfwo@houat> <2c3fa5ee-78a9-8359-01fc-3137f3cb1b9b@wolfvision.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uqdnhsc2u25qcidy" Content-Disposition: inline In-Reply-To: <2c3fa5ee-78a9-8359-01fc-3137f3cb1b9b@wolfvision.net> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uqdnhsc2u25qcidy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 04, 2023 at 06:26:25PM +0200, Michael Riesch wrote: > >>>> A different question is the partial mode, for which (IIUC) you sugge= st > >>>> the overscan feature. As I have never heard of this before, it would= be > >>>> very nice if you could point me to some examples. Where would the > >>>> effective resolution be set in this case? > >>> > >>> So, back when CRT were a thing the edges of the tube were masked by t= he > >>> plastic case. HDMI inherited from that and that's why you still have > >>> some UI on some devices (like consoles) to setup the active area of t= he > >>> display. > >>> > >>> The underlying issue is exactly what you describe: the active area is > >>> larger than what the plastic case allows to see. I don't think anyone > >>> ever had the usecase you have, but it would be the right solution to = me > >>> to solve essentially the same issue the same way we do on other output > >>> types. > >> > >> OK, we'll look into the overscan feature. But still the information > >> about the active area should come from the driver, right? > >=20 > > No, the userspace is in charge there. >=20 > I'd prefer not to have the hardware description in user space. But we > can continue this discussing once our v2 is out. I'm not sure if it's worth doing something if you don't agree with it :) At the end of the day, "the hardware" is a matter of semantics, and you would argue that it's only the (user) visible part of the display, and I would argue that it's the whole panel and we would both be somewhat right. The thing is: having the margins definition allows the userspace to be aware that there's overscan to deal with, and for example setup the scaler to properly display whatever you put in there. If you just report a weird mode that doesn't match any kind of standard, well, you could still do that, but you would need to tell the compositor which mode you would need to scale down from. In both case the userspace is involved. One is generic, the other isn't and probably requires some extra development. Maxime --uqdnhsc2u25qcidy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZC2NRgAKCRDj7w1vZxhR xUKjAP0bosIXR0c4/QGmXsVFAriJBRNXL74WtMDPDn1tfpDQaAD+N1650T66iI7O gnDqW/1Wwe83g8aBarlnGNN9YWcSNw0= =hGRX -----END PGP SIGNATURE----- --uqdnhsc2u25qcidy--