[PATCH v2] drm/crtc: Remove duplicated ioctl code

2014-10-22 Thread Daniel Vetter
On Tue, Oct 21, 2014 at 05:08:10PM +0300, Ville Syrj?l? wrote: > On Wed, Oct 08, 2014 at 11:40:34AM -0500, Chuck Ebbert wrote: > > Make drm_mode_add_fb() call drm_mode_add_fb2() after converting its > > args to the new internal format, instead of duplicating code. > > > > Also picks up a lot more

[PATCH v2] drm/crtc: Remove duplicated ioctl code

2014-10-21 Thread Ville Syrjälä
On Wed, Oct 08, 2014 at 11:40:34AM -0500, Chuck Ebbert wrote: > Make drm_mode_add_fb() call drm_mode_add_fb2() after converting its > args to the new internal format, instead of duplicating code. > > Also picks up a lot more error checking, which the legacy modes > should pass after being converte

[PATCH v2] drm/crtc: Remove duplicated ioctl code

2014-10-08 Thread Chuck Ebbert
Make drm_mode_add_fb() call drm_mode_add_fb2() after converting its args to the new internal format, instead of duplicating code. Also picks up a lot more error checking, which the legacy modes should pass after being converted to the new format. Signed-off-by: Chuck Ebbert --- drm_crtc.c | 3