From: Maxime Ripard Subject: Re: Regression on the sun4i-drm driver by cma helper change Date: Wed, 11 Jul 2018 16:06:39 +0200 Message-ID: <20180711140639.qmglwgku4qj7pgog@flea> References: Reply-To: maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="36otyj64mkraupw5" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng Cc: Chen-Yu Tsai , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Noralf =?utf-8?Q?Tr=C3=B8nnes?= , Daniel Vetter List-Id: dri-devel@lists.freedesktop.org --36otyj64mkraupw5 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline CC'ing Noralf and Daniel, On Wed, Jul 11, 2018 at 09:47:53PM +0800, Icenowy Zheng wrote: > Today, during testing the Banana Pi M2 Zero HDMI patch, I found a > regression on the sun4i-drm driver, which happenes because of the cma > helper change. > > The bad commit is 894a677f4b3e6d2ab8d01bb46c1fbd5f92e4591b ("drm/cma- > helper: Use the generic fbdev emulation"). > > If this commit is present, sun4i_framebuffer_init() will return > -ENODEV, because of the call of drm_client_new(). In this case sun4i- > drv will fail to probe, and all components will be unbound. > > By reverting the commit, sun4i-drv loads and HDMI output is correct. > > Could anyone investigate into this, please? Any ideas? Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --36otyj64mkraupw5--