[PATCH] drm: fixes crct set_mode when encoder mode_fixup is null.

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 12:15:22PM +, Carlos Palminha wrote: > Avoids null crash when encoders don't implement mode_fixup. > > Signed-off-by: Carlos Palminha One more thing I've forgotten: With these changes the kerneldoc in include/drm/drm_modeset_helper_vtables.h is now no longer

[PATCH] drm: fixes crct set_mode when encoder mode_fixup is null.

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 12:15:22PM +, Carlos Palminha wrote: > Avoids null crash when encoders don't implement mode_fixup. > > Signed-off-by: Carlos Palminha btw we could do the same game for drm_crtc_helper_funcs->mode_fixup. More dummy functions to nuke! -Daniel > --- >

[PATCH] drm: fixes crct set_mode when encoder mode_fixup is null.

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 12:15:22PM +, Carlos Palminha wrote: > Avoids null crash when encoders don't implement mode_fixup. > > Signed-off-by: Carlos Palminha > --- > drivers/gpu/drm/drm_crtc_helper.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git

[PATCH] drm: fixes crct set_mode when encoder mode_fixup is null.

2016-02-10 Thread Carlos Palminha
Avoids null crash when encoders don't implement mode_fixup. Signed-off-by: Carlos Palminha --- drivers/gpu/drm/drm_crtc_helper.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index