Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5335872rwb; Wed, 7 Sep 2022 00:50:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7NicfDGeSkI3JHEB39XsjBAhCTT0rmyGDC8sgqe4QsSDt8Gkcs3v1pCOGjFf8li/ZtV/Cs X-Received: by 2002:a17:902:d4c8:b0:175:3cb9:8919 with SMTP id o8-20020a170902d4c800b001753cb98919mr2630162plg.170.1662537009375; Wed, 07 Sep 2022 00:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662537009; cv=none; d=google.com; s=arc-20160816; b=EXlLnoXBR6gZ4uHzno2HBJQCI4zv3tQrYPMDEcEZAM3ldU/i2XHTPR3iTRZYhY6Bzk +K8yO+L/kDmPYmKoxTm66lvk+VgrQK8RYrnzpRhWYOJs+ItxU7iZTne11C18Cyc3WAO7 lkmeGaKBPG/KMy4UIlVVhxnqBRwqfEKrrHeJUdQuTu2t1oYtr+AX8OfUbsiHg5KGJ/Ef vxu++qPfgqlQwIIYUEDAtWMGp+4X5KjOktkx3F1AXZyIyIjoj5hqb+HxUrXTm/bdiTOW yGd7IOF8t7jNsV8L3kvGx1LwkL0XPWK/AYADPgm8lWF+UWj/LZdAWtHHkMK/8D2tsfiS J/3A== 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=y/msntKdqipj+ejDnjeq3oXEB7xQmRBAGIlH51MmHWE=; b=xaoqE0C04s9BGDRaABHaDU0UjCjC/G4M/l6IFAF7GhDIg86HrK4hwg9R3yTjEwfNO9 ZLxPrJDc4MlR7S9Fg2tC6Gei8Dm/Y+Zfy0UXka0E/m9rVPAqOAxNA2PJBzJ3pY69xqeY qixO3F+fvQ6c1Yf2v4VWCHkZuamUZeeifXDuxgyyCHuoTCQy56ABc0keGN5oG5cI2soK cZ1bphjweLBScwTGN5OwNmQc5hdbvPEKXM91EP2kVf+3bjfUTzDsuwFY0fakyip3mWgP zRCSOR+RCkSsuBvZZuS7gs950XbklPDtejS0XA1atp2H8mmI+KhI1ikFu+5snvrxXRX7 p4Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=0ASl9C6m; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=L7sJEzcO; 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 q8-20020a056a00150800b005377d71e81esi17519871pfu.379.2022.09.07.00.49.56; Wed, 07 Sep 2022 00:50: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=fm2 header.b=0ASl9C6m; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=L7sJEzcO; 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 S229905AbiIGHlz (ORCPT + 99 others); Wed, 7 Sep 2022 03:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbiIGHlx (ORCPT ); Wed, 7 Sep 2022 03:41:53 -0400 Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72629C507 for ; Wed, 7 Sep 2022 00:41:44 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id D52402B05879; Wed, 7 Sep 2022 03:41:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 07 Sep 2022 03:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc: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=fm2; t=1662536499; x=1662543699; bh=y/msntKdqi pj+ejDnjeq3oXEB7xQmRBAGIlH51MmHWE=; b=0ASl9C6mR2JMJ57u2qgHquxhFK iVA9dUYYNSoFW3HVkNKZTO+8uwr9a6Fj/JbJcHJ3sW/n4A+fv3twntq80py1N6BE TpdZw+aiJmEkIHDX78ZTWAaJl6+A/0AIkRL5jt5lHLxZCRuVNN9az3kImEy7bjDu e9cIkIQnKAeGumwknFXlG5Zw0pz7R0jRuRT48BBz6Q0nNJmpyFDXyy2ZX+NIRq1G ROApjkaFKXrWyLKH14m6Y5qp6EGXB8IaImBNbHd/uCeTEordLWBhom6z4Ri6itQM 7fG5hj2twZnUtCscGT2JLGiszHJg8h9XBHn+VznC3VJR+b8azpY3jOft/5Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1662536499; x=1662543699; bh=y/msntKdqipj+ejDnjeq3oXEB7xQ mRBAGIlH51MmHWE=; b=L7sJEzcOhJLtRU29J81qbMFqhlCjRJ78s+lS4UkTN35I mJ0ztQLKKLJsrVEmIs48j/0LyEA3sCSpi72I0BuU7xVK0Or+3uS6y7/jgdaf59j+ MoNvxjgy/YvUIeaJJ2Sh3OD/opeWrHcGakOpugY5VhbxAw1NrljjLYlVdBz9POHR FUr/Slrji681XDD7wpxX1Myr7vbMNpJcQxhMq2ZMdPAWMSBXIgFI2HPFZnydsmnx WRR3+gtE8IQn7MZqb0OHDYsSVsRGIt1n5LChPQEIzjlhI2/keF07pgA+UektVb7b I82sQwfu8yD9/o2Qvfb+cT5mzadzvWwcovM18ENhTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelledguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepheeuudefieehudeludevuefgtddvgffggefhleffvddvvdfgudeilefh heeiiefgnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordht vggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Sep 2022 03:41:37 -0400 (EDT) Date: Wed, 7 Sep 2022 09:41:34 +0200 From: Maxime Ripard To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: Ben Skeggs , David Airlie , Chen-Yu Tsai , Thomas Zimmermann , Jani Nikula , Lyude Paul , Philipp Zabel , Maarten Lankhorst , Rodrigo Vivi , Tvrtko Ursulin , Samuel Holland , Karol Herbst , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , Emma Anholt , Daniel Vetter , Joonas Lahtinen , Hans de Goede , linux-arm-kernel@lists.infradead.org, Phil Elwell , intel-gfx@lists.freedesktop.org, Dave Stevenson , dri-devel@lists.freedesktop.org, Dom Cobley , linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, linux-sunxi@lists.linux.dev, Mateusz Kwiatkowski , Geert Uytterhoeven Subject: Re: [PATCH v2 36/41] drm/sun4i: tv: Merge mode_set into atomic_enable Message-ID: <20220907074134.36yysxrnnpty4ngw@houat> References: <20220728-rpi-analog-tv-properties-v2-0-459522d653a7@cerno.tech> <20220728-rpi-analog-tv-properties-v2-36-459522d653a7@cerno.tech> <10138422.nUPlyArG6x@kista> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hs4qhyrj3xkup6mv" Content-Disposition: inline In-Reply-To: <10138422.nUPlyArG6x@kista> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_TEMPERROR autolearn=ham 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 --hs4qhyrj3xkup6mv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 06, 2022 at 10:04:32PM +0200, Jernej =C5=A0krabec wrote: > Dne ponedeljek, 29. avgust 2022 ob 15:11:50 CEST je Maxime Ripard napisal= (a): > > Our mode_set implementation can be merged into our atomic_enable > > implementation to simplify things, so let's do this. >=20 > Are you sure this is a good thing in long term? What if user wants to cha= nge=20 > mode? Unlikely, but why not. It doesn't change anything feature-wise: whenever the mode is changed on the CRTC, the encoder is going to be disabled and enabled. It's disabled here: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/drm_atomic_h= elper.c#L1064 And enabled here: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/drm_atomic_h= elper.c#L1403 With drm_atomic_crtc_needs_modeset() being defined here: https://elixir.bootlin.com/linux/latest/source/include/drm/drm_atomic.h#L10= 49 Maxime --hs4qhyrj3xkup6mv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYxhLLgAKCRDj7w1vZxhR xc3fAQCln8DK77u9XIhbZwrlXlxRZD8r9dSaa/Wm+6VIuvo9WAEA/N2B7TOwCRYY WZhwLuKago4QDcoZHalP5O1dmFuJ9wE= =RBGO -----END PGP SIGNATURE----- --hs4qhyrj3xkup6mv--