From: Maxime Ripard Subject: Re: [PATCH 14/22] drm/sun4i: Use drm_fb_cma_fbdev_init/fini() Date: Mon, 6 Nov 2017 08:51:28 +0100 Message-ID: <20171106075128.av2uccywrdshp5uc@flea> References: <20171104130416.12423-1-noralf@tronnes.org> <20171104130416.12423-15-noralf@tronnes.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0034900666==" Return-path: Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 95F7F6E1BA for ; Mon, 6 Nov 2017 07:51:29 +0000 (UTC) In-Reply-To: <20171104130416.12423-15-noralf@tronnes.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Noralf =?iso-8859-1?Q?Tr=F8nnes?= Cc: narmstrong@baylibre.com, liviu.dudau@arm.com, laurent.pinchart@ideasonboard.com, marex@denx.de, boris.brezillon@free-electrons.com, abrodkin@synopsys.com, z.liuxinliang@hisilicon.com, kong.kongxinwei@hisilicon.com, tomi.valkeinen@ti.com, david@lechnology.com, puck.chen@hisilicon.com, jsarha@ti.com, dri-devel@lists.freedesktop.org, vincent.abriou@st.com, alison.wang@freescale.com, philippe.cornu@st.com, yannick.fertre@st.com, zourongrong@gmail.com, shawnguo@kernel.org List-Id: dri-devel@lists.freedesktop.org --===============0034900666== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kmdy5lntpiwdtkjy" Content-Disposition: inline --kmdy5lntpiwdtkjy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 04, 2017 at 02:04:08PM +0100, Noralf Tr=F8nnes wrote: > Use drm_fb_cma_fbdev_init() and drm_fb_cma_fbdev_fini() which relies on > the fact that drm_device holds a pointer to the drm_fb_helper structure. > This means that the driver doesn't have to keep track of that. > Also use the drm_fb_helper functions directly. >=20 > Cc: Maxime Ripard > Signed-off-by: Noralf Tr=F8nnes Acked-by: Maxime Ripard Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --kmdy5lntpiwdtkjy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJaABSAAAoJEBx+YmzsjxAg84YP/2nvdSAej9JfrYtFRK/ivJnm 9VcksVv8h4IjP2zerGycCHL9ekBSYglIGZW/1IHogOlS1GFX2IYT7liwWFsZa67s WcdCBYiAI3eiHJYuF3qyljGQ1ST6aMnQbozgjlcM8mvCx6ZPMoDRfnzMFa890kVz V0SrOniquZqVlQngEzlxF5vGTYzUWG1+steb5r1F/POIBuFls0m+VM2wQHsUqzm5 M1XDQ9Arz3beYg15DKGwlNDjQGliYPWpQKpe5lJNhiXpx2Ncd4Tay33JWAWKaaRJ Nb6sPALtn/0T4JcReg5ZUf+3esWuWlyPKUaTz7CHXkqX8GLIw/FajYMdH26uVO7Y L8dNHsmNecHuNpz73nZKrcVtOweCfBQZ8OvvBCclLkEpevlQaa8I94+yLauC3xQ9 xme5l/6NlVKSoJi7WRziMQ3k3Oao//t7uC7a6AIqT3zlfMhHaW1S/dLL8VJvy5Nj 0BdTGmcC5n6rO/GS6lgmgWCmNJ17DPvxBQD1lMqPHmULe7sRekdl0jta21lf1eMq nUATWoUpr+xeh+Sc+987slZMu2gw/zVPpxXdJ4JHWuS8CgKVCDWcObMXYdrVK5P1 ig17WbFmYERFPN6Uiit0O7EQ8P947uTixgpL1tSg+Ixfj+FBJWte9eDmT0LPsc95 zYJYl7MQmtRJPnhf+esz =T5XP -----END PGP SIGNATURE----- --kmdy5lntpiwdtkjy-- --===============0034900666== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0034900666==--