[PATCH v2] drm/atomic: fix null pointer access to mode_fixup callback

2015-08-11 Thread Inki Dae
This patch fixes null pointer access incurred when encoder driver didn't set its own mode_fixup callback. mode_fixup callback shoudn't be called if the callback of drm_encoder_helper_funcs is NULL. Changelog v2: - change it to else if Signed-off-by: Inki Dae Reviewed-by: Maarten Lankhorst ---

[PATCH v2] drm/atomic: fix null pointer access to mode_fixup callback

2015-08-11 Thread Daniel Vetter
On Tue, Aug 11, 2015 at 09:23:49PM +0900, Inki Dae wrote: > This patch fixes null pointer access incurred when > encoder driver didn't set its own mode_fixup callback. > > mode_fixup callback shoudn't be called if the callback > of drm_encoder_helper_funcs is NULL. > > Changelog v2: > - change it