From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751265AbdBWS1S (ORCPT ); Thu, 23 Feb 2017 13:27:18 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:49706 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbdBWS1Q (ORCPT ); Thu, 23 Feb 2017 13:27:16 -0500 Date: Thu, 23 Feb 2017 10:26:18 -0800 From: Maxime Ripard To: Chen-Yu Tsai Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/11] drm/sun4i: Drop primary layer pointer from sun4i_drv Message-ID: <20170223182618.tyxeu7p4x7ytsttk@lukather> References: <20170223080543.6659-1-wens@csie.org> <20170223080543.6659-7-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oq6f6qckmqiy6l4b" Content-Disposition: inline In-Reply-To: <20170223080543.6659-7-wens@csie.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oq6f6qckmqiy6l4b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2017 at 04:05:38PM +0800, Chen-Yu Tsai wrote: > The current layer init code keeps a pointer to the primary plane layer > in sun4i_drv. When we eventually support multiple display pipelines, > this would force us to keep track of primary planes for all crtcs. And > these pointers only get used at bind time. >=20 > Instead, have the crtc init code iterate through the returned layers > to find the primary and cursor layers. And drop the pointer from the > sun4i_drv structure. >=20 > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --oq6f6qckmqiy6l4b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYrylKAAoJEBx+YmzsjxAgx74P/1fTAR8RF5lODi7bfJnAiB3O JAhmbeRIJ1iM+Nteza15u6DuR8S7YNwNInJW/OY7kaeSI1B9Xjq+xW5nmE8JE/i/ c/SW8orAqbLTCmZTDL5uZJoiSxJnmRxRZZXGl+mrxcwFXp4rlsHB2DqFhzrre7eJ piXfHVVb82SWfVNfejn9eseBJmC848On2K9ElL5j3IHrgaQJEUft3lDpCtOg8LiI 45VeoeeY37W5gx7tXJ8SWdQIWwwUrBWGruk4w32nqVDQoSSBvUDU/u/IO53W14o2 +N3BRkrPYc2BcFXkSaqXxJeGKmgN9zdyNDcZjIFoNZEnYIwuNTb0OHFyxNMWVbKz /3pF+8oQIZ50PUVc/HoqvCVbyNO6N8X+9XuFJax/aC/62ft90DbTVaiWsVX0jXRx qHcq/qQA+0VjQx321mrn/gvsWijJSb6mjWN0hVQ6QL4QqT4QCWIQdUXmFnf+SwPo i6rFuoQbg1CeJexH/jXcYnNGgaAHgtz/7ReVjlnlSRQ9ChfKiijrJAGP43aMvZnw ZLUmnffWfBa5WuJX3N6qcvUFbow2vJVgCGXPPjR+ak1G8qNXqhfJdTnbsQsfpnZh Ai8sDLlG7KYj7ydbEZmZfW3oDteD2DCLBHhvM1IbcuAc11IJ+mtd+/V5/D5mDo6x guTrCP1oFeURhoH38dLS =Wq2u -----END PGP SIGNATURE----- --oq6f6qckmqiy6l4b--