diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2012-03-13 12:35:46 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-15 09:51:42 +0000 |
commit | ac235dafb60d3ba4fa4e7341503b16d6e0645ee7 (patch) | |
tree | a544dc5b4c4677b9627d82f87845d93be4fcb0c2 /drivers/ide/opti621.c | |
parent | 5f61bb421f01023986902200b6486978c07176f7 (diff) |
drm: Fix drm_mode_attachmode_crtc()
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 without and encoder.
A simpler approach would be to just remove the function completely as
it's unused currently.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/ide/opti621.c')
0 files changed, 0 insertions, 0 deletions