Re: [PATCH 2/2] drm: Rely on mode_config data for fb_helper initialization

2017-02-02 Thread Daniel Vetter
On Wed, Feb 01, 2017 at 12:50:48PM -0800, Eric Anholt wrote: > Gabriel Krisman Bertazi writes: > > > Instead of receiving the num_crts as a parameter, we can read it > > directly from the mode_config structure. I audited the drivers that > > invoke this helper and I believe all of them (but one,

Re: [PATCH 2/2] drm: Rely on mode_config data for fb_helper initialization

2017-02-01 Thread Eric Anholt
Gabriel Krisman Bertazi writes: > Instead of receiving the num_crts as a parameter, we can read it > directly from the mode_config structure. I audited the drivers that > invoke this helper and I believe all of them (but one, see below) > initialize the mode_config struct accordingly, prior to c

[PATCH 2/2] drm: Rely on mode_config data for fb_helper initialization

2017-02-01 Thread Gabriel Krisman Bertazi
Instead of receiving the num_crts as a parameter, we can read it directly from the mode_config structure. I audited the drivers that invoke this helper and I believe all of them (but one, see below) initialize the mode_config struct accordingly, prior to calling the fb_helper. The auditing was do