diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-18 17:03:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-19 15:35:34 +0100 |
commit | 63a070a31a3963f836539ee7629d64fe3c9f88c8 (patch) | |
tree | 9062d69f9334a46dc7a902a3f6a24a5c160b9089 /src/sna/sna_driver.c | |
parent | 011e567e84ce4487dd6e35f4c62682b4cbb66fe9 (diff) |
sna: Do not change DPMS mode on unconnected outputs
The operation is in theory redundant, and in the case of Haswell where
we have multiple outputs aliasing to the same encoder, actually harmful.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68030
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r-- | src/sna/sna_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 4c956d81..cce8d2a8 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -820,6 +820,8 @@ static void sna_leave_vt(VT_FUNC_ARGS_DECL) xf86_hide_cursors(scrn); + sna_mode_reset(to_sna(scrn)); + if (intel_put_master(scrn)) xf86DrvMsg(scrn->scrnIndex, X_WARNING, "drmDropMaster failed: %s\n", strerror(errno)); |