On Tue, 17 May 2016 08:47:11 +0200 Daniel Vetter <daniel at ffwll.ch> wrote:
> > +static struct drm_encoder *sii902x_best_encoder(struct drm_connector > > *connector) > > +{ > > + struct sii902x *sii902x = connector_to_sii902x(connector); > > + > > + return sii902x->bridge.encoder; > > +} > > drm_atomic_helper_best_encoder should do exactly this for you. If you feel > board pimp the atomic helpers to call that one by default to even remove > the vfunc assingment line ;-) Just to be sure, is that what you had in mind? --->8---