From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751611AbdBWSWl (ORCPT ); Thu, 23 Feb 2017 13:22:41 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:49547 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbdBWSWk (ORCPT ); Thu, 23 Feb 2017 13:22:40 -0500 Date: Thu, 23 Feb 2017 10:22:24 -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 04/11] drm/sun4i: Move layers from sun4i_drv to sun4i_crtc Message-ID: <20170223182224.7njvrm7oyr2izity@lukather> References: <20170223080543.6659-1-wens@csie.org> <20170223080543.6659-5-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fvgf63gx55cslv7s" Content-Disposition: inline In-Reply-To: <20170223080543.6659-5-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 --fvgf63gx55cslv7s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2017 at 04:05:36PM +0800, Chen-Yu Tsai wrote: > This patch moves the sun4i_layers_init call from sun4i_drv_bind to > sun4i_crtc_init, and the layers pointer from struct sun4i_drv to > struct sun4i_crtc. >=20 > The layers are bound to a specific crtc, and they are not directly > used once initiated. They are used through their included drm_plane > structures. >=20 > Moving the layers into the crtc facilitates binding them to the crtc > explicitly, by setting the corresponding bit in their .possible_crtcs > fields right after the crtc is initialized. This is done in a later > patch. >=20 > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --fvgf63gx55cslv7s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYryhgAAoJEBx+YmzsjxAgaKYP/ReMLUrvmVPWbxdTRwJXL4F4 aeZMlUWOspLEyLE0wXdG1GXnfC+t8VnYwwIMZPwUJrsqc8iaeYK8GGe6gxpn3EvX BmmgbPHuZPD6uQB2eOpTau/6jOaR/sdK0zQ7QT6EygQo6oJNHLYNfqkv9t2JcIje 20ax8JOeJtVbMoFPYqq7+c6bzEVmntbV5XxWu34VDh3KEtNX/KOx3IMNMr6FzIFA HL8FaRySAjklokUnnJsXKOqBqAdGCOo5bvr3FnIp6U8OTxaC0lTHeMbLTshCoKmz i5PXvgqbmL1u0bZiOwYeSS2bLHuoPDYVU3zsLfEG8wLV34rHo0aK/mvbWLA1zXXh B9VNK/x//RH5qo4hI4Hc859s10x5BQ/kzugh2w8sZNlY7UuiF7FIFiWpbDtyOyLR k3c6SmDQqdxBibVTcBYJN5rMmY1OjjyqGJMnirf/KphERZNkL4+ppM01ffIbTTdR aHcvlzlZujaU/JdqGQF0slgV1Z5xIvZ+bK4ixssaGLy6envCbHoElEOHpM50ZeKr 1LW2lDynjwA/fR4eQt7ww8J9n2kQxy2/BAVHlTg1fwG54CBJ2FytoEih6n7oTOQu 5SmnVWFouZ2tEswzkTcS3VknrxRxb8zE5gPUYwmSfFyW6jjP6SmmrCumApI5ftnf 3eTmowO8+zUlTbtb6LTY =uii1 -----END PGP SIGNATURE----- --fvgf63gx55cslv7s--