[PATCH 09/15] drm: Fix drm_mode_attachmode_crtc()

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Change drm_mode_attachmode_crtc() to take an "all or nothing" approach. If an error is returned, there are no side effects visible. Also change the function to always duplicate the mode passed in. Also change the function to not give up when it finds the first connector with

[PATCH 09/15] drm: Fix drm_mode_attachmode_crtc()

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä Change drm_mode_attachmode_crtc() to take an "all or nothing" approach. If an error is returned, there are no side effects visible. Also change the function to always duplicate the mode passed in. Also change the function to not give up when it finds the first connector with