commit | c1c7af60892070e4b82ad63bbfb95ae745056de0 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 10 15:28:03 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu Sep 10 16:10:00 2009 -0700 |
tree | cac0b3068c8c85319f54d8ca8f43af040a6666c9 | |
parent | 7e12715ecc47a8a59154afe2746e48998225bb69 [diff] |
drm/i915: force mode set at lid open time Some laptop platforms will disable pipes and/or planes at lid close time and not restore them when the lid is opened again. So catch the lid event, and if the lid was opened, force a mode restore. Fixes fdo bug #21230. Acked-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>