On Fri, Sep 21, 2018 at 08:49:03PM +0900, Nguyen An Hoan wrote: > @@ -66,8 +66,15 @@ int rcar_du_encoder_init(struct rcar_du_device *rcdu, > /* Locate the DRM bridge from the encoder DT node. */ > bridge = of_drm_find_bridge(enc_node); > if (!bridge) { > +#if IS_ENABLED(CONFIG_DRM_RCAR_DW_HDMI) > ret = -EPROBE_DEFER; > goto done; > +#else > + if (output == RCAR_DU_OUTPUT_HDMI0 || > + output == RCAR_DU_OUTPUT_HDMI1) > + ret = 0; > + goto done; > +#endif > } This seems to make sense to me assuming there's no other encoder that could possibly connected though I'm not 100% up to speed on the DRM subsystem so it's possible I'm missing some framework feature that should help here. I'm not a DRM expert though.
Attachment:
signature.asc
Description: PGP signature