Regression on the sun4i-drm driver by cma helper change

Maxime Ripard maxime.ripard at bootlin.com
Wed Jul 11 14:06:39 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180711/5d1801f4/attachment.sig>


More information about the dri-devel mailing list