From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84435C04EB9 for ; Wed, 5 Dec 2018 15:36:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4880F206B7 for ; Wed, 5 Dec 2018 15:36:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pNixAOUF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4880F206B7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KXnksCk6nDBJv08Ys2RIL4PrtRBLrmdPBE/wDAlE0w0=; b=pNixAOUF8GOc4gwOGKsPUhrmF EWc/qXXBkbHiUyu6D/JCbYuLhK36KRSIbx5Pd7GkfSDUgbDQm5gu5r0dHbQNiZCswysC2ezY1bV7a dF4ZKTO05eWXEp9Qxs7swTEJTEb/Uh4/Qoce+AQ07E+MRM/2ArhjSei5bsxHZNIEXTTUabOvJ3Lz4 UlT1U+tvobsl2uD2Zg/SH5LzjT+mbdugE5J3p+ylVkIeqCsHYPGvgVqQpfrHkEDFnCdaiGUZk8KAv +VsKKoMByYpGOpOu1w8WWzeVnspbU1eIhPJyMyajwwjNJJBY0+CdNGx6hAMSbtMNNacV61fa4sI8H 5LCELS4Pg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUZDi-0007kn-9b; Wed, 05 Dec 2018 15:36:14 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUZDb-0007jt-0G for linux-arm-kernel@lists.infradead.org; Wed, 05 Dec 2018 15:36:12 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 7BC6820A63; Wed, 5 Dec 2018 16:35:55 +0100 (CET) Received: from localhost (unknown [185.94.189.187]) by mail.bootlin.com (Postfix) with ESMTPSA id 32A9D20729; Wed, 5 Dec 2018 16:35:45 +0100 (CET) Date: Wed, 5 Dec 2018 16:35:45 +0100 From: Maxime Ripard To: Paul Kocialkowski Subject: Re: [PATCH v4 04/22] drm/sun4i: frontend: Pass DRM format info to input format helpers Message-ID: <20181205153545.nh6f6pca4ohkluwj@flea> References: <20181205083703.21488-1-paul.kocialkowski@bootlin.com> <20181205083703.21488-5-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 In-Reply-To: <20181205083703.21488-5-paul.kocialkowski@bootlin.com> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181205_073607_180785_3DB1102F X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , David Airlie , linux-sunxi@googlegroups.com, Maarten Lankhorst , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Chen-Yu Tsai , Thomas Petazzoni , Sean Paul , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============6193717235313357597==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6193717235313357597== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3taurwh7mcy3bipp" Content-Disposition: inline --3taurwh7mcy3bipp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 05, 2018 at 09:36:45AM +0100, Paul Kocialkowski wrote: > The helper returning the input mode needs to know the number of planes > for the provided format. Passing the fourcc requires iterating through > the format info list in order to return the number of planes. >=20 > Pass the DRM format info structure directly instead to all helpers > related to configuring the input format, since it's available to the > caller. Also rename the input format in the caller function to keep > things consistent. >=20 > Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --3taurwh7mcy3bipp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXAfwUQAKCRDj7w1vZxhR xQGUAPwNuZOPr6QOdmQY5jKmlui8/rPxru/rzbu9hMsTDM35zwEAlgbCgplB7fun YK+Ove91TxCNNmyC6//rzx5IwBlClAI= =q0K7 -----END PGP SIGNATURE----- --3taurwh7mcy3bipp-- --===============6193717235313357597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6193717235313357597==--