Re: [PATCH] drm/atomic: Check that the config funcs exist drm_mode_alloc

2019-05-08 Thread Daniel Vetter
On Tue, May 07, 2019 at 01:14:11PM -0600, Jordan Crouse wrote: > An error while initializing the msm driver ends up calling > drm_atomic_helper_shutdown() without first initializing the funcs > in mode_config. While I'm not 100% sure this isn't a ordering > problem in msm adding a check to drm_mode

[PATCH] drm/atomic: Check that the config funcs exist drm_mode_alloc

2019-05-07 Thread Jordan Crouse
An error while initializing the msm driver ends up calling drm_atomic_helper_shutdown() without first initializing the funcs in mode_config. While I'm not 100% sure this isn't a ordering problem in msm adding a check to drm_mode_alloc seems like a nice and safe solution. Signed-off-by: Jordan Crou