Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp772078ybg; Wed, 10 Jun 2020 13:18:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2SoBpd3ltjtv1U5ZS3m3L3Lk3yenrMoaGe6s9QbmYuDloM4f0q7avrM/ZUjfQx3I4psCX X-Received: by 2002:a17:906:ae81:: with SMTP id md1mr5213146ejb.128.1591820339044; Wed, 10 Jun 2020 13:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591820339; cv=none; d=google.com; s=arc-20160816; b=P6Ml5TLeT+S3SNjgpTwwIghhGToCWNEf1HbusSWzThcmsiwiFmsRcUEpfeUwy43apo 3/UaLjFvcXX6hVAwuB70kYQ4w9qXQeiKt0vLNi8lx73Vd/UmrCCbCPDqUaa+++yY9R3D TiTeme84dKxyYe5U2LEZjG8lr3yDLgmwUcV4pfvf6niUiLQ8PN+psd0jQYap4/MT7ioa vKYMQctF8YtGgXR3uzf3Hsh8A2tT7gvV3z5lNW5u6viQ1c+6S/6uTsuz5+m/dBinBj0Q jqOQ+6Js+51j/P2yAtETEVJgzQg3O6vfcTTumzUZgE2Xs+AQTQ7cuhFF9ORw2DoSAHKL xEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=udqN551CwjSTVUDc0D3kSahB8HY8CeSIkA8lNOgclJo=; b=w/fKzrBho4HPEeC+aqjwn9YxA+WF7cEoOIJta6RbIf/2PLOsbyirVpL7aPNhWELnQp LMjjdvVdbXoDioB70d4Tu742487INPT5JoPFU4FLM6eSzT2g4jt7/61XatFpnHsxTNoE hWIpJ808pObihcam6/pXllVhH+3+XJoXZaB4JXu8kM/I9Chp9QneQL80ScxMKE/LH+bk vBnKwPH5TxaRWhMG+CwUjcDkcIe9D/JOwAwoL43rg671Cs1gJGBHOwPySlCoXhoP3uWq uQmzbi7ETrpXaolXdEwpxoy9gFtaIVrd47wUXrD7CNYlHpZmpfeEaXa+7HPoMdsjqH/x fgew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=SSOBpvk4; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oUMwvVek; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si676625eja.202.2020.06.10.13.18.36; Wed, 10 Jun 2020 13:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=SSOBpvk4; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oUMwvVek; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729221AbgFJSkS (ORCPT + 99 others); Wed, 10 Jun 2020 14:40:18 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:47001 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbgFJSkS (ORCPT ); Wed, 10 Jun 2020 14:40:18 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id DBB4858015B; Wed, 10 Jun 2020 14:40:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 10 Jun 2020 14:40:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=udqN551CwjSTVUDc0D3kSahB8HY 8CeSIkA8lNOgclJo=; b=SSOBpvk4b4Pw9e8QupB5MChycdXrWcxNGUbo5+QqOB2 EG/b6zh9og0gepAraw33BO9gskuaIRH/d0B35Z8IRps3FyOX9d09lsd8adi6iZud e4LF60hPZkpPmAu/O1VqMmODBhtuiuTNUgkN6kPFd0EfVB6pqxZ0SQ+sbm/y/nRO MNTEjq/SsNEpo9sa0FRTaXDvCrZLPJFIAn6DudP3qcIE9GxA/fgU8wjLHtzPcYpE Nu3K+4rdJ1I2YSTF4zBggLJD53HHuXGiDBIgUIg7GAQMLxDLwTE9cIgBj8SQsIGB DQ4z62PiBkuUX6hQy+lS0Tf3xRZ7FSAlI0tNzJyEtTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=udqN55 1CwjSTVUDc0D3kSahB8HY8CeSIkA8lNOgclJo=; b=oUMwvVekXmmDKq3tMHHOiq Oe9XPwUXSkst2D1ORd9yRYO9u/dghU0y7YQOhRV5KtF2yslH5qzusgPFowpBlrpU +TGcxs6rkP28NyrODwFw+02LPte9frNWwwH6y/bNeay6zQ2ABLMb3yU7hkmLiWbK TcDdko3D0PsAE3dbjz079ZwugHREMVR+ecCwNXR9JnDW+BjmFHCKW+/rOCZYsI/N ZZvYdbkGu6Td/qD0nK/UgT1g/fsNMLm+PBk8ocOchxmIDUcZ/kuSo8mrQkVZO4Ck snK/aDJys04wqBT2O6DV+tzzKj3CMNH827Hc5u6Pl2u7J461+KLnuKbUKy/HPfYw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehiedgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheei heegudenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 962643280064; Wed, 10 Jun 2020 14:40:12 -0400 (EDT) Date: Wed, 10 Jun 2020 20:40:10 +0200 From: Maxime Ripard To: Emil Velikov Cc: Nicolas Saenz Julienne , Eric Anholt , Tim Gover , Dave Stevenson , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , LAKML Subject: Re: [PATCH v3 066/105] drm/vc4: txp: Turn the TXP into a CRTC of its own Message-ID: <20200610184010.slnn46azvxvtxp7t@gilmour.lan> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="heqnr6uenmn6etam" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --heqnr6uenmn6etam Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Emil, On Thu, May 28, 2020 at 04:51:31PM +0100, Emil Velikov wrote: > Have you considered splitting the series into several parts and > focusing on merging one at a time? > IIRC this the longest series _ever_ submitted to dri-devel, plus it > seems to be growing with each revision. >=20 > Due to the sheer volume, it's likely to miss various points - large or > small (like below). Yeah, I know, I wasn't really happy about it either :/ I already removed some parts of it to reduce it, but I'll try to be more aggressive. > On Thu, 28 May 2020 at 08:47, Maxime Ripard wrote: >=20 > > +static int vc4_txp_enable_vblank(struct drm_crtc *crtc) > > +{ > > + return 0; > > +} > > + > > +static void vc4_txp_disable_vblank(struct drm_crtc *crtc) {} > > + > Core should handle if these are NULL, so the stubs should not be needed. I'm really not sure actually. In the general case, you'll want to have vblank functions, since it doesn't really make sense to have a driver without it. We could argue that with writeback, it might be optional like being done here, but you don't really know if you're going to use a writeback connector in the CRTC at initialisation time, and all the other writeback encoders actually seem to use a real CRTC that can output to a real encoder, and therefore has some proper vblank handling too. So yeah, it really looks like the check is valid, and that driver is just the odd case. Maxime --heqnr6uenmn6etam Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXuEpCgAKCRDj7w1vZxhR xfKbAP4guXZpKOBW0DBgderX3rva9jNmN1dH66Kel2jC5+ha2AD/f4mM9LuoVOUU FtD2pyxEBAUtj6eIpZBwTD4vxJiVgg0= =v1fz -----END PGP SIGNATURE----- --heqnr6uenmn6etam--