commit | c5006cfe2f5fc3cc03ebe2342aaca83d051d99e0 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Mon Nov 07 10:39:57 2011 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Fri Nov 11 11:07:36 2011 +0000 |
tree | 6f83b8e279f783a668f5f770aef5760b43ef92ff | |
parent | 091264f0bc12419560ac64fcef4567809d611658 [diff] |
drm: try to restore previous CRTC config if mode set fails We restore the CRTC, encoder, and connector configurations, but if the mode set failed, the attached display may have been turned off, so we need to try set_config again to restore things to the way they were. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>