Hi, On Sat, Nov 21, 2026 at 03:40:49PM +0800, Cody Kang via B4 Relay wrote: > +static int spacemit_drm_master_bind(struct device *dev) > +{ > + struct spacemit_drm_private *priv = dev_get_drvdata(dev); > + struct spacemit_crtc *a_crtc; > + struct drm_device *drm; > + int ret; > + > + ret = aperture_remove_all_conflicting_devices(spacemit_drm_drv.name); > + if (ret) > + return dev_err_probe(dev, ret, > + "failed to remove existing framebuffers\n"); > + > + /* > + * Bind-scoped, not devm: the aggregate can rebind without this > + * device being re-probed, and each bind must release its own > + * drm_device. > + */ > + drm = drm_dev_alloc(&spacemit_drm_drv, dev); > + if (IS_ERR(drm)) > + return PTR_ERR(drm); > + priv->ddev = drm; > + drm->dev_private = priv; > + > + ret = spacemit_drm_mode_config_init(drm); > + if (ret) > + goto err_dc; > + > + a_crtc = spacemit_drm_pipeline_init(drm); > + if (IS_ERR(a_crtc)) { > + ret = PTR_ERR(a_crtc); > + goto err_dc; > + } > + priv->a_crtc = a_crtc; > + > + /* > + * component_bind_all() unbinds what it bound before returning an error. > + */ > + ret = component_bind_all(dev, drm); > + if (ret) { > + dev_err_probe(dev, ret, "failed to bind all components\n"); > + goto err_dc; > + } > + > + drm_mode_config_reset(drm); You need to use drm_mode_config_create_initial_state(). Maxime