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=-6.0 required=3.0 tests=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 B2BD4C04EB9 for ; Wed, 5 Dec 2018 15:35:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8345F206B7 for ; Wed, 5 Dec 2018 15:35:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8345F206B7 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-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbeLEPf6 (ORCPT ); Wed, 5 Dec 2018 10:35:58 -0500 Received: from mail.bootlin.com ([62.4.15.54]:58672 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727103AbeLEPf6 (ORCPT ); Wed, 5 Dec 2018 10:35:58 -0500 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 Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Airlie , Chen-Yu Tsai , Maarten Lankhorst , Sean Paul , Thomas Petazzoni , linux-sunxi@googlegroups.com, Daniel Vetter 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3taurwh7mcy3bipp" Content-Disposition: inline In-Reply-To: <20181205083703.21488-5-paul.kocialkowski@bootlin.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--